Skip to main content



      Home
Home » Modeling » EMF » [XCORE] Loosing Memory/Memory Exhaustion
[XCORE] Loosing Memory/Memory Exhaustion [message #1403556] Thu, 24 July 2014 07:46 Go to next message
Eclipse UserFriend
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 #1403627 is a reply to message #1403556] Thu, 24 July 2014 12:27 Go to previous messageGo to next message
Eclipse UserFriend
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 04:36 Go to previous message
Eclipse UserFriend
Bugzilla :

https://bugs.eclipse.org/bugs/show_bug.cgi?id=440421
Previous Topic:StrictCompoundCommand and TransactionalEditingDomain
Next Topic:[DynamicEMF] How to set an unchangeable using DynamicEMF
Goto Forum:
  


Current Time: Thu Jun 19 03:27:59 EDT 2025

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

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

Back to the top