cancel
Showing results for 
Search instead for 
Did you mean: 

java_heap_size

SOLVED
Go to solution
Soul_1
Respected Contributor

java_heap_size

Hi,

I want to increase the java heap size.When i searched in net if ound some options like

-Xmn100M -Xms500M -Xmx500M

but i didn't find where/how to apply this option.

Thanks in advance.
1 REPLY
Matti_Kurkela
Honored Contributor
Solution

Re: java_heap_size

Those options must be given to the JVM when you're starting your Java application.

You must find the command that actually starts the application. It's typically something like:

java

Change that to:

java -Xmn100M -Xms500M -Xmx500M

If your Java application is complex (something like a Weblogic server, for example), this command is probably embedded inside a startup script created by the application vendor. You must then examine the script and find out the best way to add these options to it.

Your application vendor might even have documented how you should add heap size options if you need them: read the documentation of your application.

MK
MK