开发者

How to reduce Netbeans' memory usage?

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


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


Haven't found any way to reduce either Eclipse and Netbeans. The problem is that javas JVM is using significant amout of memory to hold the compiled class representation. For example code is first compiled with something like -O0 for C compilers and later compiled with much better optimization if this is a frequently executed hotspot.

Thats why it is increasing over time. I don't know about any memory leak in Netbeans - so i guess it is just the program code and not the data set which is growing.

The way to reduce it is to remove unnecessary plugins. But is this with the current prices for 4/8GB of RAM really a problem?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜