Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [XCORE] Loosing Memory/Memory Exhaustion
[XCORE] Loosing Memory/Memory Exhaustion [message #1403556] Thu, 24 July 2014 11:46 Go to next message
xjn Mising nameFriend
Messages: 20
Registered: May 2010
Junior Member
Hi,

one more problem I ran into is memory exhaustion when using XCore.


Having some XCore models in different plugins, some depending on each other,
all open in the editor, Properties- and Outline-View open.

---

As long as i don't change/save any of my XCore models, memory usage
stays stable.
Three days of work, without Eclipse restart, no changes to any XCore
model, memory usage is stable.

---

As soon as i start to modify my XCore models, edit* and save*, memory
usage goes up and up, on every save/build.
Nearly nothing else is changed in workspace, i only work on the models.

After some time of work, depending on the model edits/saves and the
memory i gave to Eclipse, it reaches max memory and then the XCore build
stalls and only a Eclipse restart helps.

---

To check this problem, I have used one of my (bigger) models, take a blank
line in the model and add a blank char + save, doing this over and over
again ...
You may see sometimes "User Operation is waiting", go on and add/remove a
blank char + save.

Memory usage goes up and up ...


thx


br
xjn
Re: [XCORE] Loosing Memory/Memory Exhaustion [message #1403627 is a reply to message #1403556] Thu, 24 July 2014 16:27 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30553
Registered: July 2009
Senior Member
Please open a bugzilla. Likely the old inferred objects that are
discarded each time the model is change (on each edit) are being locked
in by some map that should be cleaned up too.


On 24/07/2014 1:46 PM, xjn Mising name wrote:
> Hi,
>
> one more problem I ran into is memory exhaustion when using XCore.
>
>
> Having some XCore models in different plugins, some depending on each
> other, all open in the editor, Properties- and Outline-View open.
>
> ---
>
> As long as i don't change/save any of my XCore models, memory usage
> stays stable. Three days of work, without Eclipse restart, no changes
> to any XCore model, memory usage is stable.
>
> ---
>
> As soon as i start to modify my XCore models, edit* and save*, memory
> usage goes up and up, on every save/build. Nearly nothing else is
> changed in workspace, i only work on the models.
>
> After some time of work, depending on the model edits/saves and the
> memory i gave to Eclipse, it reaches max memory and then the XCore build
> stalls and only a Eclipse restart helps.
>
> ---
>
> To check this problem, I have used one of my (bigger) models, take a
> blank line in the model and add a blank char + save, doing this over
> and over again ...
> You may see sometimes "User Operation is waiting", go on and
> add/remove a blank char + save.
>
> Memory usage goes up and up ...
>
>
> thx
>
Re: [XCORE] Loosing Memory/Memory Exhaustion [message #1403671 is a reply to message #1403627] Fri, 25 July 2014 08:36 Go to previous message
xjn Mising nameFriend
Messages: 20
Registered: May 2010
Junior Member
Bugzilla :

https://bugs.eclipse.org/bugs/show_bug.cgi?id=440421


br
xjn
Previous Topic:StrictCompoundCommand and TransactionalEditingDomain
Next Topic:[DynamicEMF] How to set an unchangeable using DynamicEMF
Goto Forum:
  


Current Time: Tue Oct 22 21:56:01 GMT 2019

Powered by FUDForum. Page generated in 0.02426 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top