Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reduce Netbeans' memory usage?

When using netbeans to edit a PHP project, the IDE can (over time) use 400+ MB of memory. Is there any way to turn off certain features or other tricks to reduce its memory usage?

like image 557
Justin Ethier Avatar asked Oct 13 '09 01:10

Justin Ethier


People also ask

How much RAM is needed for NetBeans?

The recommended heap sizes for NetBeans C/C++ Development Pack for medium- and large-sized applications are: For developing medium-sized applications, that is 100–2000 source files, on a system with one CPU and 1 GB of RAM: 512 MB.

How can I make NetBeans run faster?

I suggest right-clicking the NetBeans shortcut, go to Properties, and on the Shortcut tab at the Target, add -J-Xmx1024m -J-Xms256m . This sets the memory usage of the JVM. Xms is the minimal value, while Xmx is the max. Since I add that attribute, my NetBeans run so fast!


1 Answers

You can set the min & max memory limits via the netbeans.conf file.

Please, refer to the next faqs:

  • http://wiki.netbeans.org/FaqSlowNetBeans
  • http://wiki.netbeans.org/FaqNetBeansAndOOME
like image 131
Ben Rowe Avatar answered Sep 19 '22 15:09

Ben Rowe