[
https://jira.jboss.org/jira/browse/JBIDE-5923?page=com.atlassian.jira.plu...
]
Alexey Kazakov commented on JBIDE-5923:
---------------------------------------
After some playing with generating/removing entityes I catched a big CPU usege. And this
process takes a lot of time. But Progress view is emty. Suspending Eclipse threads I see
Package explorer is being refreshed and it parses (unzip) jars from JBoss AS. So such IO
oparations are very slow and it's a resoun why it takes so much time. I guess you see
KB validator process in Progress view just because Package Explorer refreshing eating all
the CPU resources and it makes KB Validator works so slow too. In my case KB validator
seems to managed to finish its work before Package Explorer starts refreshing. KB
Validator can be slow for big projects but it doesn't take much CPU time.
I have no idea why Package Explorer make so deep and slow refreshing in that case.
After several files deletion eclipse decelerate and takes 50% cpu
time
----------------------------------------------------------------------
Key: JBIDE-5923
URL:
https://jira.jboss.org/jira/browse/JBIDE-5923
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.1.0.CR2
Reporter: Vitali Yemialyanchyk
Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg,
screenshot-4.jpg, screenshot-5.jpg
1) as a test project I use dvdstore;
2) dvdstore-ejb - I change hibernate-console.properties to use MySQL instead of HQL db
for dvdstore-ejb Hibernate Console Configuration:
#hibernate.connection.password=
#hibernate.connection.username=sa
#hibernate.connection.driver_class=org.hsqldb.jdbcDriver
#hibernate.dialect=org.hibernate.dialect.HSQLDialect
#hibernate.connection.url=jdbc:hsqldb:MyDB
hibernate.connection.password=p@ssw0rd
hibernate.connection.username=root
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.connection.url=jdbc:mysql://localhost:3306/jpa3
3) I generate Hibernate db for MySQL via dvdstore-ejb Hibernate Console Config ->
context menu -> Run Schema export;
4) then I run Seam Generate Entities for dvdstore project - the entities was generated
succesfully;
5) rebuild dvdstore-ejb Hibernate Console Config - get exception - with duplicate
Inventory - ok that is right;
6) so I delete generated entities;
7) during 15 minutes my rbds decelerate - it works, but very slowly; no exceptions;
8) then I get situation - screenshort-2 - it start to work normally;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira