Comments (12)
有点像死循环 到99%就走不动了。Eclipse分配了6G内存 都消耗完了。
from p3c.
卸载JPA插件
from p3c.
Eclipse Version: Mars.1 Release (4.5.1)
jdk: 1.8
同样的问题,卡的一匹啊
from p3c.
卡的同学,你们工程的代码量大吗?有没有单个文件特别大的,比如通过代码生成器生成的?
我是插件的开发同学哈,平时不怎么使用Eclipse,所以在插件方面可能会有很多欠缺的地方,希望能有Eclipse的大神加入进来
from p3c.
@SeanCai 应该是JPA的问题,跑完之后会产生一堆的JPA线程导致僵死,不过去掉JPA之后还是会有100%的CPU占用,这块还不清楚原因
from p3c.
我的工程量一点都不大,单文件不超过500行,整体项目源代码不超过3M,应该是有东西一直在扫描,或者有用到网络请求之类的阻塞进程了,如果不使用规约扫描是一点都不卡的,我机器配置还可以的,16g内存,i5处理器
from p3c.
同上,eclipse卡爆了
from p3c.
@SeanCai
小项目,源码文件大概有6M,有mybatis自动化生成的java和xml文件。
是不是插件扫描完成之后,触发了死循环的job了?
查看Eclipse的堆栈,统计(jmc统计的)信息如下:
堆栈跟踪 样本计数 百分比(%)
org.eclipse.core.internal.jobs.Worker.run() 2,511 70.455
org.eclipse.core.internal.jobs.WorkerPool.startJob(Worker) 1,036 29.068
from p3c.
没法上传文件 堆栈我敲下
org.eclipse.core.internal.jobs.InternalJob.addLast(InternalJob) 99.92%
org.eclipse.core.internal.jobs.JobManager.nextJob() 99.92%
from p3c.
全是这个查错的线程,结束时卡死(预计大几千个线程)
JPA Project Change Event Handler (Waiting)
from p3c.
如果项目间依赖、引用过多,建议单个项目扫描,否则很容易卡死。机器内存16G,eclipse配置-Xms512m
-Xmx1024m
from p3c.
@wander2016 打开扫描结果才会卡死吗?
from p3c.
Related Issues (20)
- p3c-pmd plugin not support jdk 21
- 提几条日常编码时的想法供参考
- 2023.2版本插件报错 HOT 11
- 有没有web的开发手册开发规范
- 规约中有关前后端接口日期时间传递的约定是在挖大坑 HOT 8
- URL Broker 指的是什么
- beta版本试用,增加了对Record类的检测,优化了Switch中default块的判断 HOT 2
- How to add a new rule HOT 69
- stream和enum的格式化能不能优化下
- idea 2023.1.5版本安装规约插件代码规约失效 HOT 1
- How can I use my custom rule which is similar to defined rule? HOT 1
- LockShouldWithTryFinallyRule规则不生效
- 请问下这个插件是没更新了吗? HOT 3
- 类名使用 UpperCamelCase 风格,但以下情形例外:DO / / BO / / DTO / VO / AO / PO / UID 等。这个规则不生效。
- P3C的阿里巴巴网址无法拉取包了 HOT 2
- 这个插件是否已经不维护了
- Gitlab集成P3C检查,如何只对增量代码做检查 HOT 3
- 实时检测功能开启后不生效 HOT 1
- 实时检测功能开启后不生效
- java.lang.ArrayIndexOutOfBoundsException HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p3c.