[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5923) After several files deletion eclipse decelerate and takes 50% cpu time

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Tue Mar 2 14:14:10 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12517658#action_12517658 ] 

Snjezana Peco commented on JBIDE-5923:
--------------------------------------

There is no any schema that needs to be downloaded.
The old entity resolver was unnecessarily downloading a few schemas that already existed in the XML catalog which was causing a problem.
Webtools entity resolver solves all the schemas correctly so that internet connection is unnecessary.  I have also tested the validation without the internet connection. It works correctly (the old validator throws a lot of exception).
If there would be any schema that wouldn't be in the catalog, the webtools entity resolver would cache that schema.
The problem is fixed. XHTML validation is faster more than 20 times on my machine (2Mbit internet connection speed).
This fix also solves JBIDE-5933 and JBIDE-5956

> second one (which I reproduced deleting a lot of java classes) is a very slow Package Explorer refreshing. 

Alexey,
How can I reproduce this issue?

> reopening since this were not fixed in any 3.1.x even though the fix for says so.

I have committed to the trunk. Which branch do I need to commit the fix to?

> 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
>            Assignee: Snjezana Peco
>             Fix For: 3.1.0.CR3, 3.2.next
>
>         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 at 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

        


More information about the jbosstools-issues mailing list