Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic