Changing Memory Settings

Changing Memory Settings

If you identified a memory problem as described in section 4, you may solve the problem by increasing the appropriate maximum memory size parameter.

If you use the standard SICS setup, the Java command line parameters are located in the command files: run_sics_workstation.bat
and
run_sics_sysadmin.bat.

Edit the relevant file and increase the -Xmx value.

If you use the SICS Launcher setup the JRE command line parameters are located in the SICSJavaLauncher.ini file.

As a general recommendation, you should solve a heap memory problem by increasing the maximum memory size in steps of 100 MB or more. If heap memory is already more than 1000 MB and this is not enough, then increase the the maximum memory size in steps of 500 MB or more.

Retest the function that fails between each increase in size until you can run the function without error.

Note: For large batch jobs / accounting orders, that read and process a lot of data, the recommendation is to set the maximum heap size to at least 2000m.

If this is not enough, increase allocation in steps as outlined above.

If you believe the standard memory setting is too high for your SICS installation and usage, you may decrease the maximum memory size using a similar approach.

In case you experience the memory problem only for one specific SICS function or if only certain user groups experience the problem, you may use a partial approach. You may either increase the maximum memory size only when needed or implemented a more sophisticated memory setup with increased limits for certain users.