Xtend memory and speed issue [message #1742574] |
Mon, 05 September 2016 07:05  |
Eclipse User |
|
|
|
Hi All,
Since two days my eclipse instance has become slower and slower when using Xtend (I'm implementing the generator in an Xtext project) up to a point where it is unusable.
For example, if I select some text in an Xtend editor, Eclipse freezes for a couple of minutes...
I've tried raising the memory allocation for Eclipse to 4Gb and that seemed to help a bit initially but quite quickly Eclipse is using the 4Gb to the max. I assume this is the cause for the slowness, but I have no idea why it's using so much memory. (I've checked the memory usage in the graph from the jvisualvm tool.)
Does anyone have an idea what could be the issue and/or how I can troubleshoot this?
BTW the .log does show any issues.
Thanks a lot, Olaf
PS I'm not sure I'm posting in the right group, if not, apologies, and a pointer to the right spot is greatly appreciated.
|
|
|
|
|
Re: Xtend memory and speed issue [message #1743005 is a reply to message #1742743] |
Fri, 09 September 2016 06:47  |
Eclipse User |
|
|
|
Ok, I've stripped the project into a sample size to reproduce the issue as you suggested. But strangely I cannot repro this anymore :-/ Strangely because there's not much difference between the original and the sample project. It's smaller of course, but not by much and my assumption that this has to do with project size doesn't hold: The original project was already quite small as I'm working on sample project to demonstrate EMF related topics, so it's not that I reduced a huge project into a small one, more a small project into a tiny one. And, besides, I can't repro the issue in the original project either.
So it's no longer a blocking issue, however code completion still takes a couple of seconds, and it also triggers an increase in heap size of about 500Mb -maybe the last part is normal behavior?- so I still have the impression something weird is going on, but it's a bit hard to confirm at this point.
For now I'll leave this as is, if the issue reappears I'll try to make this repro sample project and let you know. So far thanks for your help!
|
|
|
Powered by
FUDForum. Page generated in 0.07885 seconds