Seite 1 von 1

Increase memory for Polysun  Thema ist als GELÖST markiert

Verfasst: Mi Feb 22, 2017 3:24 pm
von SWeberVS
Polysun could be set with more memory when it is necessary simulation analysis.
The available memory can be controlled via the file Polysun.vmoptions. This file is located at Polysun.exe, e.g. At C: \ Program Files (x86) \ Polysun.
The file can be overwritten or modified. Caution, if Polysun is installed in C: \ Program Files (x86) \ Polysun, the file can only be overwritten and not changed.
Windows prevents a change.

By default, Polysun 512 MB is available. This value may be e.g. To 1024MB. The new values would then be:
-Xmx1024m
-Xms160m

For the Java 32 bit version, a maximum of 1GB can be used.
With the conversion to 64-bit larger values than 1GB can be set, for example. 4GB. The value is only dependent on the available RAM.

Advanced solution for power users
Start polysun via script.
1. Download JRE from Java Archive. Https://java.com/en/download/
2. Install the JRE.
3. Customize the polysun.cmd script
1. Set the path of Java, e.g. C: \ Program Files \ Java \ jdk1.7.0_80 \ bin \ java.exe (see screenshot)
2. Increase memory to e.g. -Xmx2048m
4. Double-click on polysun.cmd
5. Polysun start with new parameters
CMD.png
CMD.png (19.93 KiB) 85937 mal betrachtet
"C:\Program Files\Java\jdk1.7.0_80\bin\javaw.exe" (only Java 1.7 is supported)
In order to use the memory extension, Polysun has to be started via the CMD file every time since it contains the necessary parameters

Re: Increase memory for Polysun

Verfasst: Do Nov 09, 2017 9:01 am
von Marc Jakobi
Note: As of version 10.x, Polysun will freeze if trying to start it with Java JRE 9. A temporary workaround until this is fixed is to use Java JRE 8.