Options | Garbage Collect
|
The "Garbage Collect" option suggests to the Java Virtual Machine that it should attempt garbage collection.
In theory, this option should not be required. In practice, with some Virtual Machines and when memory is low,
it can be handy to select this option prior to performing a complex operation. If you are not having any memory
problems then ignore this option.
|
|
|
If you have memory problems by all means see if this option helps but, if practicable,
it would be better to:
- Give the Virtual Machine more memory to play with by using the
-XmxNNm
parameter when you start Java (where NN represents the number of megabytes).
By default, most JVMs allocate only 64MB. It is recommended that
you don't give the Virtual Machine more memory than is physically installed. Performance is likely to be
unacceptable due to virtual memory paging.
- Install more physical memory so that more available memory can be allocated to the JVM.
|