开发者

OutOfMemory/PermGen Errors Debugging NetBeans Modules

开发者 https://www.devze.com 2023-03-14 05:02 出处:网络
I\'ve been developing a couple of Ne开发者_Go百科tBeans 7 modules on OSX with little problem.However, when I go to debug the modules, it opens up a new NetBeans instance for debugging purposes and aft

I've been developing a couple of Ne开发者_Go百科tBeans 7 modules on OSX with little problem. However, when I go to debug the modules, it opens up a new NetBeans instance for debugging purposes and after a few minutes of use I get OutOfMemory and PermGen exceptions. How can I avoid these when debugging? It's to the point that actually debugging is pointless, and I'm forced to "Run" the code instead. Where can I increase the memory allocated to NetBeans when debugging? Thanks!


Try looking at http://performance.netbeans.org/howto/jvmswitches/. In particular, –J-XX:MaxPermSize=192m is worth a try.

0

精彩评论

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