osx - Change max memory heap for Java on Mac OS X -


i trying change max memory size "heap" java on mac os x. have read many places change "-xx:maxpermsize", can't find file , don't know change setting.

you can set memory available java vm using parameters:

-xms64m -xmx200m 

-xms specifies minimum memory; -xmx maximum one.

you have specify them when run app. example, if jar named app.jar, can run typing

java -xms64m -xmx512m -jar app.jar 

i think on 32 bit machine can't give jvm more 1gb.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -