处理xml(去往或从他们)时,Eclipse挂起。 CPU +磁盘飙升 [英] Eclipse Hangs when dealing with xml's (going to or from them). CPU + Disk spike at this time

查看:92
本文介绍了处理xml(去往或从他们)时,Eclipse挂起。 CPU +磁盘飙升的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须每天处理许多XML。这大大打乱了我的工作流程;我已经尝试降级到靛蓝,但所有的加载项被删除。



打开xml时会出现问题;切换到xml;切换出一个xml(甚至另一个xml)。发生什么事情使XML变得烦人?什么可以禁用或更改,以获得更好的表现?



重新启动日食往往有所帮助,但不会长时间(一个小时左右)。



在这段时间内,我的CPU从几个百分点上升到70-80%,所以无论做什么都非常耗资。



我相信这些时间和磁盘使用率之间也存在相关性。



编辑:为了澄清,不仅仅是从xml切换到另一个xml,它也是当我将焦点从主xml更改为另一个框架,即项目浏览器,问题,控制台。

解决方案

就像您正在使用Juno和Juno SR1一样已知的性能问题。该平台团队目前正在为SR2开发许多性能错误,有些已经修复。我认为降级到Indigo或Eclipse 3.8是您唯一的选择。一些与XML编辑器相关的特定错误:



https://bugs.eclipse.org/bugs/show_bug.cgi?id=391127



https://bugs.eclipse.org/bugs/show_bug.cgi?id=391868


I have to deal with many XML's on a daily basis. This is interrupting my work flow greatly; I've tried downgrading to Indigo but all my add-ons get removed.

The problem occurs when opening an xml; switching to an xml; switching out of an xml (even to another xml). What is happening that makes XML's so annoying? What can I disable, or change, to get better performance?

Restarting eclipse tends to help a bit, but not for long (an hour or so).

During these times my CPU spikes from a few % to 70-80% so whatever it is doing is very resource intensive.

I believe that there is correlation between these times and disk usage as well.

edit: To clarify, it's not just when switching from an xml to another xml, it's also when I change focus from the main xml to another frame, i.e. project explorer, problems, console.

解决方案

Sounds like you are hitting a known performance issue with Juno and Juno SR1. The platform team is currently working on a number of performance bugs for SR2, some have already been fixed. I think downgrading to Indigo or Eclipse 3.8 are your only options. Some of the specific bugs related to XML editors:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=391127

https://bugs.eclipse.org/bugs/show_bug.cgi?id=391868

这篇关于处理xml(去往或从他们)时,Eclipse挂起。 CPU +磁盘飙升的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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