禁用“保存快照"在NetBeans中 [英] Disable "Saving Snapshot" in NetBeans

查看:89
本文介绍了禁用“保存快照"在NetBeans中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何禁用NetBeans 7.1.2中的快照保存?它正在极大地减慢系统速度.有什么建议

How can I disable saving snapshot in NetBeans 7.1.2? It is slowing down the system dramatically. Any suggestions

推荐答案

快照是IDE检测到慢速行为时拍摄的性能快照.出于明显的原因,速度较慢的计算机更有可能触发收集(通过花费比预定时间更长的时间来完成任务),然后需要保存快照.保存过程会进一步降低系统速度,有时会导致(出于所有实际目的)无法运行的IDE.

The snapshots are performance snapshots taken when the IDE detects slow behavior. For obvious reasons, slower computers are more likely to trigger the collection (by taking longer than a preset amount of time to complete tasks), which then requires saving the snapshot. The saving process slows the system down even more, occasionally resulting in (for all practical purposes) an inoperable IDE.

检查您的netbeans.conf配置文件(在etc文件夹中).您会在netbeans_default_options中找到一行.确保-J-ea没有出现在行中.这个标志启用了Java断言,这本身就不是问题,但是NetBeans中的慢度检测器也使用此标志来大大缩短启用自我分析器之前的超时.

Check your netbeans.conf configuration file (in the etc folder). You'll find a line for netbeans_default_options. Make sure -J-ea does not appear in the line. This flag enabled Java assertions, which wouldn't be a problem in itself but the slowness detector in NetBeans also uses this flag to significantly shorten the timeout before the self-profiler is enabled.

这篇关于禁用“保存快照"在NetBeans中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆