Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm using windows 7 32 bit with 4GB RAM. how much size can i set java heap size to so that other apps are not affected.


how much maximum memory I can give to vm arguments in jboss server
Posted
Updated 3-Dec-14 0:36am
v2
Comments
CPallini 3-Dec-14 6:23am    
There's nothing you can do to speed up the eclipse.
Trupti001 3-Dec-14 6:28am    
how can I set up in jBoss VM to avoide heap space error..
my vm argument is "run.bat -Xms256m -Xmx1024m -XX:MaxPermSize=512m"
I want to increase size of this vm..
my system specificatn is 32bit with 4 gb Ram
Sinisa Hajnal 3-Dec-14 6:33am    
Change your IDE to NetBeans :) It will speed up eclipse to 0ms response time.

In more serious tone, just look up what each of parameters does and change the values until you get good responsiveness.

1 solution

XML
-Xms<size>        set initial Java heap size
-Xmx<size>        set maximum Java heap size
-Xss<size>        set java thread stack size

java -Xms16m -Xmx64m ClassName
In the above line we can set minimum heap to 16mb and maximum heap 64mb
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900