Setting Eclipse and Java application JVM heap size on Mac OS X

The other day I kept on getting annoying “out of heap space” errors in Eclipse while running a memory intensive Java application I had written and it took a bit of searching to find the answer, so I thought I’d make a quick screencast that demonstrates how to increase the heap size of the JVM that Eclipse uses as well as how to increase the heap size allocated to your Java applications by Eclipse.

screecast thumbnail

This screencast is also available in podcast format for video iPods.

subscribe with itunes

14 Comments

  1. Posted November 24, 2006 at 7:32 am | Permalink

    Hi Brooks,

    which software did you use to record your screen under MacOSX?

    Thanks in advance

  2. luke
    Posted November 28, 2006 at 10:10 am | Permalink

    this really helped me out. thanks very much.

  3. Olga
    Posted January 9, 2007 at 5:22 am | Permalink

    Thank you! This was great help!

  4. caren
    Posted April 17, 2007 at 3:09 am | Permalink

    that was total awesome and really helped me out! thank you!

  5. Posted May 4, 2007 at 7:47 am | Permalink

    Kick ass screencast. Encapsulated my problem to the letter.
    Great job.

  6. Posted November 14, 2007 at 6:58 pm | Permalink

    Thanks. Nice info

  7. Posted November 14, 2007 at 6:59 pm | Permalink

    And, by the way, what software did you use to record your screen?

  8. DLO
    Posted February 3, 2008 at 5:43 pm | Permalink

    Excellent! Thank you!! I’ve just bookmarked your blog site now.

  9. Posted February 22, 2008 at 9:57 pm | Permalink

    I actually used Jing to record this screencast and After Effects to add the perspective and effects.

  10. Kevin
    Posted April 2, 2008 at 12:08 am | Permalink

    Bravo! This solved my problem. Keep up the screencasts!

  11. john
    Posted May 12, 2008 at 3:22 pm | Permalink

    thanks so much, couldn’t find it as hard as i look.
    very interesting recording style, i kinda like it

  12. David K
    Posted July 10, 2008 at 8:14 am | Permalink

    Thank you very much, this helped me quite a bit

  13. Jason
    Posted July 29, 2008 at 5:29 pm | Permalink

    Thank you so much! This problem has been plaguing me all year as I’m often loading very large corpora, and everyone I’ve asked about this has directed me to the eclipse.ini file…very frustrating! Had I just found this first I could have saved myself 80+ hours of workarounds and aimless searching…

  14. ye
    Posted September 2, 2008 at 2:48 am | Permalink

    Thanks a lot, buddy! It really helps!!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*