...
Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Manual memory limit configuration on Windows operating systems
The memory limit is written into the configuration file PowerFolder.l4j.ini
residing in the client installation directory. It's contents should look similar to the following example:
...
The -Xmx
entry defines the upper memory limit. This can be manually adjusted to any desired value, e.g. -Xmx1024m
.
Manual memory limit configuration on Mac OS X operating systems
On Mac OS X the client will also automatically detect when the available memory limit is close to being reached, but will only display a simple warning about it.
...
Code Block | ||
---|---|---|
| ||
java -Xmx1G -jar /Applications/PowerFolder.app/Contents/Resources/Java/PowerFolder.jar |
Manual memory limit configuration on Linux operating systems
On Linux the client will also automatically detect when the available memory limit is close to being reached, but will only display a simple warning about it.
...
Code Block | ||
---|---|---|
| ||
JAVA_MEM="-Xms64m -Xmx1g -XX:NewRatio=8 -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20" |
Manual memory limit configuration when running as a system service
If you encounter crashes caused by hitting the memory limit please edit the file wrapper.conf
located in
- Windows XP/2003/2003 R2:
C:\Documents and Settings\All users\ApplicationData\PowerFolder\service
Windows Vista/ 7/8.1/2008/2008 R2/2012:C:\ProgramData\PowerFolder\service
...
Code Block | ||
---|---|---|
| ||
wrapper.java.maxmemory=1024 |
Other tips to reduce memory usage
To reduce memory usage:
- Enable instant auto-cleanup of uploads and downloads.
PowerFolder client -> click on a folder -> Transfers -> auto-cleanup interval -> Immediately - Reduce the number of files in your folders.
- Split up big folders into smaller ones.
- Don't sync/setup folders that do not actually change.
- Cleanup the folder database.
PowerFolder client -> click on a folder -> Settings -> Cleanup Database - Deactivate the P2P function in client. Configuring connection modes
To perform the tasks above it is required to set up the client to Expert Mode.