I need your help please. I had a problem with ServiceDesk and I found out that I should increase the size of JVM. this is the solution: If you start the application server using the sd_server.bat batch file do the following: Edit the sd_server.bat file in the application server \bin directory. Add new parameters to this file, or use the pre-configured settings by removing the rem comment and adding the rem comment to the original pre-configured settings. The settings shown in this excerpt from sd_server.bat are intended for a 1 GB machine:
If you start the application server using the application server service do the following: Edit the installservice.bat file in the application server \bin directory. Add new parameters to this file, or use the pre-configured settings by removing the rem comment and adding the rem comment to the original pre-configured settings. The settings shown in this excerpt from installservice.bat are intended for a 1 GB machine:
Hi Elias, Do the test, and apply what the guideline says " set -XX:NewSize= to one third of the amount of memory allocated for one JVM, and set -XX:MaxNewSize= to two thirds of the same memory allocation"
Or for example, if you box have 2G, you could try to duplicate the size of the 1G example MaxNewSize=64M -XX:NewSize=64M -Xms200M -Xmx1000M try for 2G MaxNewSize=128M -XX:NewSize=128M -Xms400M -Xmx2000M after you could see what 's happenning with you JVM.
JVM stands for Java Virtual Machine. JVM does not have a size. You mean JVM memory heap size. If I remember correctly, by default these values are 2MB for garbage collection generations, and 64MB for max heap size.
How can you tell the values are not being applied if you can't determine what the heap size is?
Of course, if you are changing the values in installservice.bat you need to reinstall the service for the new values to pick up. If you are using sd_server.bat, then there should be no problem with it.
Also, I'd be careful with smatador's recommendation, particularly because some operating systems do not allow for large amounts of memory to be assigned to a single process (e.g. Win2k and Win2k3 without special switches).
Hope this helps! Do not forget to assign points for the answer.