为什么在尝试输入时netbeans会冻结? [英] Why does netbeans freeze when I'm trying to type?
问题描述
我在Win XP *上使用NetBeans 6.7.我不确定该模式是什么,但是最近性能已经变得非常糟糕,几乎无法使用.关于在哪里寻找减速的任何想法?
I'm using NetBeans 6.7 on win xp*. I'm not really sure what the pattern is, but lately performance has gotten really bad to the point where it's almost unusable. Any ideas for where to look for slowdowns?
根据系统属性面板,显示Intel Core Duo 2.2 GHz,3.5 GB或ram. 90 GB的可用硬盘空间.
Intel Core Duo 2.2 GHz, 3.5 GB or ram, accoring to the system properties panel. 90 GB of free hard disk space.
推荐答案
NetBeans 6.5泄漏"了临时文件.它在%TEMP%
(通常为c:\\Documents and Settings\\*username*\\Local Settings\\Temp
)中创建临时文件,而不删除它们.当积累了足够的文件时,对临时目录的访问将减慢爬网的速度.这反过来又将NB拖到了爬网中.
NetBeans 6.5 "leaks" temporary files. It creates temporary files in %TEMP%
(typically c:\\Documents and Settings\\*username*\\Local Settings\\Temp
) and does not delete them. When enough files accumulate, access to the temporary directory slows to a crawl. That in turn drags NB down to a crawl.
要清理它:
- 关闭NetBeans
-
打开命令提示符并键入:
- Shut down NetBeans
Open a command prompt and type:
cd %TEMP%
del *.java
del *.form
del output*
del *vcs*
重要提示:
- 请勿尝试使用Windows资源管理器执行此操作.这行不通.
- 每次删除可能需要几分钟.要有耐心.
这在6.7中要好得多,而我在6.8中根本没有看到.
This is much better in 6.7 and I have not seen it at all in 6.8.
这篇关于为什么在尝试输入时netbeans会冻结?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!