简体   繁体   English

调试NetBeans模块的OutOfMemory / PermGen错误

[英]OutOfMemory/PermGen Errors Debugging NetBeans Modules

I've been developing a couple of NetBeans 7 modules on OSX with little problem. 我已经在OSX上开发了几个NetBeans 7模块,几乎没有问题。 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. 但是,当我调试模块时,它将打开一个新的NetBeans实例以进行调试,使用几分钟后,我会收到OutOfMemory和PermGen异常。 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? 调试时在哪里可以增加分配给NetBeans的内存? Thanks! 谢谢!

Try looking at http://performance.netbeans.org/howto/jvmswitches/ . 尝试查看http://performance.netbeans.org/howto/jvmswitches/ In particular, –J-XX:MaxPermSize=192m is worth a try. 特别是–J-XX:MaxPermSize=192m值得一试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM