Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am looking for a way to change the default JVM memory settings on OS X, not for a specific application.

And, yes I know that each application can override this.

Currently running Java 1.6 on OS X 10.8

share|improve this question
    
similar to apple.stackexchange.com/questions/63223/… –  patrix Sep 7 '12 at 10:50
add comment

1 Answer

up vote 2 down vote accepted

This should do the trick:

  1. Go to Applications / Utilities and open the Java Preferences.
  2. Select the Java version you're interested in.
  3. Hit Options and add the Heap size argument, which is -Xmx followed by amount of memory you want it to have. (e.g. -Xmx1024).
share|improve this answer
    
i just tried your method , everything's fine but when i open the java preferences there's is no "Option" button. Thank you Running with a Macbook pro 13" , Os 10.8.3 , 2,5 GHz Intel Core i5, 8go 1600n MHz DDR3 Java 7 Maj 17. –  Ismael Boukhars Apr 7 '13 at 13:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.