Eclipse with OT/J really slow [message #685801] |
Mon, 20 June 2011 04:06  |
Eclipse User |
|
|
|
Hi,
after having installed OT/J I noted that eclipse is becoming really slow and sometimes even freezes. Even with projects that are not OT/J in nature I got this behaviour and sometimes I got the error:
Background Indexer Crash Recovery
GC overhead limit exceeded
and after then an out of memory error is reported and the system asks me to exit the workbench.
My eclipse.ini file contains the following memory configuration:
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
Is there any particular settings I have to apply to make eclipse working fine?
Thanks
|
|
|
|
Re: Eclipse with OT/J really slow [message #685965 is a reply to message #685920] |
Tue, 21 June 2011 02:51   |
Eclipse User |
|
|
|
Thanks for the reply.
First of all I'm not saying object teams is faulty, it is just that my eclipse was running faster before I installed it.
I've changed my eclipse.ini to set up memory like the following:
-XX:MaxPermSize=521m
-Xms40m
-Xmx1024m
and now it works better! However it still has some freezes and I noted that when I launch the workbench I've got a running progress for "showing role markers", so it seems that disabling it from the object team configuration makes it running better.
The show heap function says I've 657 MB, and I'm running always over 400 MB to 500 MB.
My eclipse installation is quite fat, I always use aspectj, wtp, jpa, git for almost every project, and I switch wtp to rcp for the remaining ones....
Finally, upgrading to indigo not only will be possible, but I'm waiting it with enthusiasm. In the meantime, if there is something I can report back to help investigating let me know.
|
|
|
Re: Eclipse with OT/J really slow [message #685978 is a reply to message #685965] |
Tue, 21 June 2011 04:33   |
Eclipse User |
|
|
|
Hi Luca,
Quote: ... and now it works better! However it still has some freezes and I noted that when I launch the workbench I've got a running progress for "showing role markers", so it seems that disabling it from the object team configuration makes it running better.
The show heap function says I've 657 MB, and I'm running always over 400 MB to 500 MB.
Good, so that seems to be a usable setup for you for now.
Still when you say it freezes I'm curious to hear if these are temporary (in that case you probably see some activity in the heap status?) or if you have to shutdown or kill Eclipse at any point (if so a bug with the corresponding stack dump (e.g., kill -3) would be most helpful).
Quote:
My eclipse installation is quite fat, I always use aspectj, wtp, jpa, git for almost every project, and I switch wtp to rcp for the remaining ones....
OK, so this qualifies your issues as being accumulative 
Specifically, if you use the AJDT, do you have JDT weaving enabled? There's a potential that this might interact badly with the OTDT. It's on my list of things to test/work on (only, I was focusing on compatibility with other Indigo projects during the last months ...).
let us know if you have any further issues/info,
thanks,
Stephan
|
|
|
Re: Eclipse with OT/J really slow [message #686371 is a reply to message #685978] |
Wed, 22 June 2011 02:11  |
Eclipse User |
|
|
|
Thanks.
I confirm that the weaver is enabled in the workbench, so it could be an issue with that. Moreover when eclipse freezes I have to manually kill it, I have not collected the stack trace, I will post it within the logs the first time it happens again.
|
|
|
Powered by
FUDForum. Page generated in 0.33509 seconds