Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Out of memory problem: (6 Items)
   
Out of memory problem  
I encountered an error condition while using the System Information perspective.  I used it to look at how much memory 
my process was using, and left it in that perspective for a few hours.  After some time, the IDE complained that it ran 
out of memory even though I have 1.5GB system memory available.

The error window:
Internal Error
An out of memory error has occurred.  Consult the "Running Eclipse" section of
the read me file for information on preventing this kind of error in the future.
You are recommended to exit the workbench.
Subsequent errors may happen and may terminate the workbench without
warning.
See the .log file for more details.

Do you want to exit the workbench?

Another window was hidden under the first error window:
Multiple problems have occurred
An internal error occurred during: "Win32 refresh daemon".
An internal error occurred during: "Compacting memory".
An internal error occurred during: "Compacting memory".
An internal error occurred during: "System Information Re..."
An internal error occurred during: "System Information Re..."
Compacting memory

qde.exe was using around 744MB at the time of the error.  Is this a known issue and has it been fixed?  I am using IDE 4
.6 I20090510.
Re: Out of memory problem  
IDE could run out of memory if it uses up all the VM heap memory. The default setting for IDE is 512M, plus 128M 
allocated for IDE objects permanent generation. You can find these setting in the "qde.ini" file. So even you have 1.5G 
system memory IDE won't use them all.

Did you run any other task in IDE when it ran out of memory?
Can you attach  your workspace log file?

Re: Out of memory problem  
The log file is attached.

I had launched a memory snapshot run configuration from the IDE.  The rmat file hit the 2GB limit and the tool pretty 
much stopped functioning.  I kept it running because I was still getting some memory readings from pidin info and pidin 
mem and wanted to test for long term smaller sized memory leaks.
Attachment: Text .log 272.61 KB
RE: Out of memory problem  
Your log file pretty much tells the same story:

Your IDE ran out of heap memory, the U.I. refresh request failed and
U.I. components started being disposed.

You can increase your -Xmx value in "qde.ini" to see if you still can
allocate memory after you kit the 2G limit in MAT. 


-----Original Message-----
From: Rex Lam [mailto:community-noreply@qnx.com] 
Sent: Thursday, August 20, 2009 10:31 PM
To: momentics-community
Subject: Re: Out of memory problem

The log file is attached.

I had launched a memory snapshot run configuration from the IDE.  The
rmat file hit the 2GB limit and the tool pretty much stopped
functioning.  I kept it running because I was still getting some memory
readings from pidin info and pidin mem and wanted to test for long term
smaller sized memory leaks.
Re: RE: Out of memory problem  
Thanks.  I will increase the heap memory size.  Do you have any recommendation on how much to set it to?  I tried 1536M 
and the IDE won't even start.  It worked at 1024M.
RE: RE: Out of memory problem  
Since you have 1.5G physical memory it makes sense to set the JVM
maximum to be lower than that since JVM needs to reserve some memory for
its own object space.

Forgot to mention - increasing heap size will give you longer time
before it runs out of memory again, but not fixing the real issue.

-----Original Message-----
From: Rex Lam [mailto:community-noreply@qnx.com] 
Sent: Thursday, August 20, 2009 11:06 PM
To: momentics-community
Subject: Re: RE: Out of memory problem

Thanks.  I will increase the heap memory size.  Do you have any
recommendation on how much to set it to?  I tried 1536M and the IDE
won't even start.  It worked at 1024M.