How to change the default memory allocation of the censhare clients.
Context
-
This configuration is valid for the censhare Client, censhare Admin Client and censhare Render Client.
-
Setup is identical for v2, v3 and v4.
For Java 11 clients, do not try to define this in [JVMOptionsUser] as this will not be recognized.
macOS (Java 8)
-
Right-click on the application file named censhareClient(.app) and choose Show Package Contents (german: Paketinhalt zeigen).
-
Change to directory contents.
-
Open the file named Info.plist in a text editor (e.g. TextWrangler)
-
Go to the following line and change the "-Xmx" property:
<string> -Xms256m -Xmx1024m -ea:com.censhare... </string>
-
The property Xmx stands for the maximum memory, which the client can allocate.
-
After a client restart, changes become active.
macOS (Java 11)
See steps above but open the file in .app/Contents/Java/censhare Client.cfg, and search for:
[JVMOptions]
-Xms256m
-Xmx4096m
Windows
-
Open the file "cenhare Client.lap", which you can find in the same directory layer as the application file "censhare Client.exe".
-
Go to the following line and change the "-Xmx" property:
--- snip --- -Xms256m -Xmx1024m --- snap ---
-
The property Xmx stands for the maximum memory, which the client can allocate.
-
After a client restart, changes become active.