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.
This screencast is also available in podcast format for video iPods.
Hi Brooks,
which software did you use to record your screen under MacOSX?
Thanks in advance
this really helped me out. thanks very much.
Thank you! This was great help!
that was total awesome and really helped me out! thank you!
Kick ass screencast. Encapsulated my problem to the letter.
Great job.
Thanks. Nice info
And, by the way, what software did you use to record your screen?
Excellent! Thank you!! I’ve just bookmarked your blog site now.
I actually used Jing to record this screencast and After Effects to add the perspective and effects.
Bravo! This solved my problem. Keep up the screencasts!
thanks so much, couldn’t find it as hard as i look.
very interesting recording style, i kinda like it
Thank you very much, this helped me quite a bit
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…
Thanks a lot, buddy! It really helps!!
THANX! GREAT HELP!
Nice screencast, ive really had some problems, and all the answers i could find ony set the max and min for the jvm from where eclipse ran!
Thanks a bunch!
Thanx man!!Helped me out a lot!!
I couldn’t get your screencast to play (on my Mac under Firefox) — I wish you had posted a textual explanation of what to do!
Dear Brooks,
This was awesome. You are crystal clear about the process and this is a helpful movie. My problem is the VM argument in my eclipse is not active. It is empty and I can not change it.
Any idea?
Thanks
Thank you so much!
Thanks ! Finally a good and clear solution to the memory spaghetti in Eclipse.
Awesome vid! This was just what I was looking for.
Dear Brooks
I dont usually comment in forums, but the solution I was looking for many days is only given by you, not even on very technical sites. I couldnt stop myself to comment on it.
Hats off for you.
Thanks
Thanks a lot. this really helped. I’m kind of a newb when it comes to java, Do you know how it works if i send this as a .jar to a friend, will he have to up his heap size too? or will the JVM do that for him automatically for .jars?
AWESOME!!! Exactly the information I needed. Can’t thank you enough.
Thanks a million!
Wow!!! I’ve been looking for this for a WHILE… thanks! everybody tells you to increase it on the eclipse.ini, but that didn’t help… thanks for explaining where to increase it to directly affect the program.
cudos
Thanks man, you solved my problem!. It is very interesting, you posted this in 2006, its now 2011 and you are still receiving kudos for it :D
much thanks, very helpful!
however, i agree with David Jameson that it would be awesome if you also had a text summary…sometimes i forget my headphones, and playing videos in a very confined cube zone at work is annoying for everyone.
Late to the party, but wanted to thank you for this great screencast. For whatever reason, the ‘vmargs’ box in run configuration was not registering, and I was trying to set the heap size on the eclipse command line…..
thanks!
Thanks a lot.
Thanks a lot for this tip, you’ve just saved my day.