Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NetBeans Heap Size

 
Tom Sullivan
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure how to set the heap size irrespective of the IDE. But can someone tell me how to do so while using NetBeans? I want to right click and say run in NetBeans and not get an outofmemoryexception.

Thanks very much.
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can not understand whether you want to run netbeans with your own HEAP size or you want to run an application inside netbeans with a defined heap size ?


btw :
in case that you want to run netbeans ide witha bigger heap size look at
http://www.netbeans.org/kb/faqs/performance.html#FaqSettingHeapSize


but if you want to run an application inside netbeans with defined heap size
take a look at project properties / run node : vm options

hth
 
Tom Sullivan
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Masoud.

I wanted the project to have more heap size. I searched the help contents of NetBeans before posting and got no hits. But with your guidance, I was able to set the heap size and my project did not run out of memory when I ran it from within NetBeans so thanks!

Best,
Tom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic