Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF and out of memory error
GMF and out of memory error [message #89903] Fri, 05 January 2007 17:26 Go to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

I am experiencing a lot of "out of memory errors" when using GMF. Has
anyone else noticed this? At least once an hour I have to shutdown my
workbench. I have the heap monitor open, and it doesn't seem like it is
using a lot of memory (about 60M of 1/2 Gig I gave Eclipse). I am using
Eclipse M4 with GMF M3 (because GMF M4 didn't seem to pass it's
regression tests).

cheers,
ian
Re: GMF and out of memory error [message #89920 is a reply to message #89903] Fri, 05 January 2007 17:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: liam.morley.baesystems.com

Just so that you don't think you're the only one, I've also experienced a
lot of issues with GMF and memory. My overall Eclipse stability has
lessened, and Eclipse crashes more often than it used to. As to how to deal
with those, I'll have to let someone else weigh in.

Liam


"Ian Bull" <irbull@cs.uvic.ca> wrote in message
news:enmjb9$bdq$1@utils.eclipse.org...
>I am experiencing a lot of "out of memory errors" when using GMF. Has
>anyone else noticed this? At least once an hour I have to shutdown my
>workbench. I have the heap monitor open, and it doesn't seem like it is
>using a lot of memory (about 60M of 1/2 Gig I gave Eclipse). I am using
>Eclipse M4 with GMF M3 (because GMF M4 didn't seem to pass it's regression
>tests).
>
> cheers,
> ian
Re: GMF and out of memory error [message #90011 is a reply to message #89903] Sat, 06 January 2007 09:26 Go to previous messageGo to next message
Eclipse UserFriend
I noticed the following while creating an *.ecore diagram during my tutorial
update for 2.0 M4:

Error
Sat Jan 06 09:18:45 EST 2007
Ignoring provider
org.eclipse.gmf.runtime.diagram.ui.providers.internal.Diagra mIconProvider
since it threw an exception or error in the provides()
method

java.lang.OutOfMemoryError: PermGen space



To get around it for now, I added the following to my eclipse.ini file:

-XX:MaxPermSize=128M

Best,
Rich


On 1/5/07 5:26 PM, in article enmjb9$bdq$1@utils.eclipse.org, "Ian Bull"
<irbull@cs.uvic.ca> wrote:

> I am experiencing a lot of "out of memory errors" when using GMF. Has
> anyone else noticed this? At least once an hour I have to shutdown my
> workbench. I have the heap monitor open, and it doesn't seem like it is
> using a lot of memory (about 60M of 1/2 Gig I gave Eclipse). I am using
> Eclipse M4 with GMF M3 (because GMF M4 didn't seem to pass it's
> regression tests).
>
> cheers,
> ian
Re: GMF and out of memory error [message #90026 is a reply to message #89903] Sat, 06 January 2007 11:04 Go to previous messageGo to next message
Eclipse UserFriend
My eclipse also very often crashes with "out of memory errors".

In my opinion it happens usually when I working on my genmap and
regenerate my diagram few times.

I have GMF M3.

Ian Bull napisał(a):
> I am experiencing a lot of "out of memory errors" when using GMF. Has
> anyone else noticed this? At least once an hour I have to shutdown my
> workbench. I have the heap monitor open, and it doesn't seem like it is
> using a lot of memory (about 60M of 1/2 Gig I gave Eclipse). I am using
> Eclipse M4 with GMF M3 (because GMF M4 didn't seem to pass it's
> regression tests).
>
> cheers,
> ian
Re: GMF and out of memory error [message #90085 is a reply to message #90026] Sat, 06 January 2007 12:18 Go to previous messageGo to next message
Eclipse UserFriend
Hello Wiktor,

> In my opinion it happens usually when I working on my genmap and
> regenerate my diagram few times.
Are you using custom templates (jet)? It could be a known problem of PermGen
limit - dynamic JET templates does not unload generated+loaded classes..

-----------------
Alex Shatalin
Re: GMF and out of memory error [message #90132 is a reply to message #90011] Sat, 06 January 2007 15:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Thanks Rich, I will try that. If the problem persists I will keep you
updated.

I also had GMF and Mylar running and Eclipse would just "die". Not out
of memory, the VM would just no longer be running. There wasn't even
anything useful in the log. This problem went away when I disabled
Mylar (I still had out of memory errors), but I have been using Mylar
(without GMF) for almost a year and this never happened.

I assume GMF is going to be part of Europa, (so is Mylar), so I will
keep testing this setup. If I find anything useful I will let you and
Mik (Project lead for Mylar) know.

cheers,
Ian


Richard Gronback wrote:
> I noticed the following while creating an *.ecore diagram during my tutorial
> update for 2.0 M4:
>
> Error
> Sat Jan 06 09:18:45 EST 2007
> Ignoring provider
> org.eclipse.gmf.runtime.diagram.ui.providers.internal.Diagra mIconProvider
> since it threw an exception or error in the provides()
> method
>
> java.lang.OutOfMemoryError: PermGen space
>
>
>
> To get around it for now, I added the following to my eclipse.ini file:
>
> -XX:MaxPermSize=128M
>
> Best,
> Rich
>
>
> On 1/5/07 5:26 PM, in article enmjb9$bdq$1@utils.eclipse.org, "Ian Bull"
> <irbull@cs.uvic.ca> wrote:
>
>> I am experiencing a lot of "out of memory errors" when using GMF. Has
>> anyone else noticed this? At least once an hour I have to shutdown my
>> workbench. I have the heap monitor open, and it doesn't seem like it is
>> using a lot of memory (about 60M of 1/2 Gig I gave Eclipse). I am using
>> Eclipse M4 with GMF M3 (because GMF M4 didn't seem to pass it's
>> regression tests).
>>
>> cheers,
>> ian
>
Re: GMF and out of memory error [message #90161 is a reply to message #90085] Sat, 06 January 2007 19:20 Go to previous messageGo to next message
Eclipse UserFriend
I do not know. Maybe I am not conscious that I am using them;)
I remember only installing EMF & GMF in my enviroment
Re: GMF and out of memory error [message #90392 is a reply to message #90161] Mon, 08 January 2007 08:10 Go to previous message
Eclipse UserFriend
Hello Wiktor,

> I do not know. Maybe I am not conscious that I am using them;) I
> remember only installing EMF & GMF in my enviroment
So, you probably do not use it. ;-) There is a special parameter in .gmfgen
model allowing dynamic templates (off by default)

-----------------
Alex Shatalin
Previous Topic:GMF and Decorations
Next Topic:Using a non FileEditorInput with a diagram editor
Goto Forum:
  


Current Time: Sat May 10 19:37:25 EDT 2025

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

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

Back to the top