Memory configuration
From PowerFolder Wiki
Contents |
Java memory
PowerFolder is a Java application. Java imposes a maximum limit to the amount of memory an application can use. This is a safeguard that prevents an application from consuming all of a computer's resources.
PowerFolder normally runs perfectly well with the default memory limit. However, if many folders with many files are being managed, this limit can be exceeded and PowerFolder will then perform poorly.
It is possible to adjust this memory limit.
Windows
On a Windows system, PowerFolder will automatically detect when the available memory limit is close to being reached, and will display a warning dialog. This dialog provides an option for PowerFolder to automatically reconfigure to a higher memory limit. Usually this new limit will then be sufficient.
Manual configuration
By default, PowerFolder is limited to 54 MB of memory. If the reconfiguration option is accepted, it will then be limited to 512 MB. The memory limit is recorded in a configuration file, PowerFolder.ini. The -Xmx entry defines the upper memory limit, and this can be manually edited to any desired value.
Other operating systems
On operating systems other than Windows, PowerFolder will still automatically detect when the available memory limit is close to being reached, but will only display a simple warning.
PowerFolder is run with a command similar to java -jar PowerFolder.jar. This command will limit the maximum memory to 64 MB. To run PowerFolder with a higher memory limit, for example 256 MB, add -Xmx256m to the run command: java -Xmx256m -jar PowerFolder.jar.
Current usage
The PowerFolder About dialog shows the maximum and currently used memory.

