• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NetBeans Heap Size

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic