Eclipse开普勒JPA项目更改事件处理程序(等待) [英] Eclipse Kepler JPA Project Change Event Handler (waiting)

查看:141
本文介绍了Eclipse开普勒JPA项目更改事件处理程序(等待)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在工作空间中有一些JPA项目,构建我的项目需要很多时间。它还导致GC超过限制,分配给eclipse的6GB堆空间



Helios不会发生此问题。



对于上述错误,有一些BugZilla条目,但是我们可以看到它们是固定的。但是在4.3.1中不可用?



上述问题的任何解决方案/解决方法?



谢谢


解决方案

我有同样的问题,最后发现这似乎是 DALI中的一个已知错误(Eclipse Java Persistence Tools),因为至少eclipse 3.8可能导致在java编辑器中保存操作极其缓慢



由于尚未在开普勒(20130614-0229)中完全解决,因为我的eclipse中不需要JPT / DALI,我最终手动删除了 org.eclipse。 jpt 功能和插件。



我所做的是:



1)退出eclipse



2。)去我的eclipse安装目录

  cd eclipse 

并执行th ese步骤:



* nix:

  mkdir disabled 
mkdir禁用/功能禁用/插件

mv插件/ org.eclipse.jpt。*禁用/插件
mv功能/ org.eclipse.jpt。*禁用/功能

Windows:

  mkdir disabled 
mkdir disabled\features
mkdir disabled\plugins

move plugins\org.eclipse.jpt。* disabled\plugins
for / (features\org.eclipse.jpt。*)中的D / R%D会移动%D disabled \features

3。)重启eclipse。



启动后,首次使用eclipse可能会警告您需要重新配置您的内容辅助。在您的首选项对话框中执行此操作。



完成。



卸载DALI / JPT后,我的日食再次感觉很好保存文件时,不再有阻止用户界面和等待秒数。


Why am I getting 'JPA Project Change Event Handler (waiting)', whenever I try to build my project.

I have some JPA projects in my workspace and It takes lot of time to build my project. It also leads to GC over limit with 6GB of heap space allocated to eclipse

This issue does not occur in Helios.

There are some BugZilla entries for the above bug, but I can see them fixed. But not available in 4.3.1?

Any solutions/workarounds for the above issue?

Thanks

解决方案

I had the same problem and I ended up finding out that this seems to be a known bug in DALI (Eclipse Java Persistence Tools) since at least eclipse 3.8 which could cause the save action in the java editor to be extremly slow.

Since this hasn't been fully resolved in Kepler (20130614-0229) yet and because I don't need JPT/DALI in my eclipse I ended up manually removing the org.eclipse.jpt features and plugins.

What I did was:

1.) exit eclipse

2.) go to my eclipse install directory

cd eclipse

and execute these steps:

*nix:

mkdir disabled
mkdir disabled/features disabled/plugins

mv plugins/org.eclipse.jpt.* disabled/plugins
mv features/org.eclipse.jpt.* disabled/features

windows:

mkdir disabled
mkdir disabled\features 
mkdir disabled\plugins

move plugins\org.eclipse.jpt.* disabled\plugins
for /D /R %D in (features\org.eclipse.jpt.*) do move %D disabled\features

3.) Restart eclipse.

After startup and on first use eclipse may warn you that you need to reconfigure your content-assist. Do this in your preferences dialog.

Done.

After uninstalling DALI/JPT my eclipse feels good again. No more blocked UI and waiting for seconds when saving a file.

这篇关于Eclipse开普勒JPA项目更改事件处理程序(等待)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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