且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

NetBeans内存不足错误

更新时间:2022-06-27 00:08:33

对于我的问题,最简单的答案就是识别技巧.我的工作目录中有多个netbeans项目.假设我的目录D:\ NetBeans \ WorkSpace包含大约300个项目! 我所做的就是简化目录,将旧项目移到了新目录,而只有少数项目留在了我的netbeans工作空间中. 将多个项目移到新目录后,错误消息消失. 问题是,当netbeans启动时,它将项目加载到内存中,如果您在加载目录中有很多项目,则将导致内存泄漏!

The simplest answer for my problem was a trick to identify. I had a number of netbeans projects into my working directory. Suppose that my directory D:\NetBeans\WorkSpace contains about 300 projects! What I done is that simplify the directory moved the old projects into a new directory and only a few projects left into my netbeans working space. The error message goes off after moving a number of projects into a new directory. The thing is when netbeans starts up it loads the projects into the memory and if you have a lot of projects into the loading directory it will cause to leak the memory!