FAQ_FILENAME: synergy_gui.d/faq_memory

TOPIC:
SYNERGY GUI

SUBJECT:
Out of Memory Problems

QUESTION:
What are some reasons for memory problems?


ANSWER:
I had a couple of customers saying they were running out of memory and were unable to run multiple processes. It came down to the facts that:

1. They never left Synergy.
They would load job after job and never get out. The net effect of this is that Synergy never gets a chance to "defrag" the memory. Eventually you will run out of memory because you have lots of small pieces but no single piece large enough to hold the job.
2. They used the Close button on the window to kill Synergy.
This kills the user interface and makes the windows go away but the database ( webmon ) stays alive and consumes most of the memory. The proper way to leave Synergy is to use the File->Exit->System Exit sequence. ( A Ctrl-Q is also valid. ), 'kilproc web' will kill off all weber processes so they can restart from there .

There may be an additional problem with Xterms and multiple copies. Our user interface now creates nearly 2000 buttons at startup. We may need to reduce the size ( and functionality ) of the interface or increase the recommended amount of memory.
