osx - Java -Xmx1028m not working in Mac OS X -


i trying use command "java -xmx1028m"

it giving me list of available commands after hit enter, , doesn't change maximum memory size java. please help!

it's not meant change maximum heap size java in general - it's meant set that invocation of java command.

so you'd typically run:

java -xmx1028m com.foo.someapplication 

(or executable jar file, possibly adding options etc).

i don't know of way of changing default maximum heap size java - doing assume applications have equal requirements anyway.


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 -