RE: [flexcoders] Ecplise Out Of Memory Errors

2007-04-25 Thread Peter
After a few hours without the dreaded out of memory (quite exceptional for
what I am used to), I am tempted to conclude that the the MaxPermSize
setting did the trick for me.

 

Many thanks indeed!

 

Peter

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Farland
Sent: Tuesday, April 24, 2007 2:53 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Ecplise Out Of Memory Errors

 

I've seen suggestions to also increase the MaxPermSize. I typically run many
projects at once and have found the following eclipse.ini settings to work
well (machine has 2GB RAM).

 

-vmargs
-Xms128m
-Xmx784m
-XX:MaxPermSize=256m

 

Pete

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Tuesday, April 24, 2007 7:47 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Ecplise Out Of Memory Errors

I get this too when using all kinds of plugins and perspectives, running the
Tomcat plugin adds to this too.  Besides raising the memory settings try:
1) close all perspectives not currently in use. there can be only one!  hehe

2) window  preferences  General   and check show heap status.  This will
enable a heap status monitor in the lower left corner by default.  You can
mash the garbage can to force a GC at will.
3) get eclipse updates, occasionally the updates are performance related,
eh? 

DK

On 4/24/07, Peter pc.subscriptions@ mailto:[EMAIL PROTECTED]
gmail.com wrote: 

 I can't believe you are getting it with 1300! 

Well.unfortunately, I am getting it (about a dozen times a day). At the same
time the VM size of the javaw executable never comes close to this 1300Mb. I
am clueless and frustrated but not a lot of people seem to run into the same
issue so I must assume it is something specific to my setup or way of
working. I just wish I knew in what direction to look for that specific
characteristic. I am sure I would be more than happy to get rid of it, if it
would keep Eclipse running.

 

  _  

From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED]
http://yahoogroups.com com] On Behalf Of Kevin
Sent: Tuesday, April 24, 2007 7:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Ecplise Out Of Memory Errors

 

now that you mention it, this did start happening when I started working on
my Java/Hibernate code.   Previously, I only used the PHP, SVN  Flex
perspectives. I changed to Xmx512m and I'll see if that helps.  I can't
believe you are getting it with 1300!  I am also going to see if closing my
projects while I am not working on them helps. 

 

- Kevin

 

 

On Apr 24, 2007, at 12:44 AM, Peter wrote:

 

 

I have it very regularly (very frustrating indeed). I have -vmargs -Xms128m
-Xmx1300m in eclipse.ini but it hardly seems related to the Xmx value. It
does seem related in my case to the fact that I am also using the Eclipse
instance to do Java and/or XML editing and/or Java/Tomcat debugging - I
almost always run into it when I switch from a longer period of flex
editing/debugging to Java (or vice versa).

 

I remember reading on this list that in once case switching automatic
compilation of helped/fixed the problem. I have not tried that though as
that would probably get me in a bigger mess than restarting every hour or
so.

 

If you find out something I would certainly appreciate if you could share
your solution.

 

Thanks!

 

 

Peter

 

  _  

From: flexcoders@yahoogroups.com [ mailto:flexcoders mailto:flexcoders
@yahoogroups. http://yahoogroups.com com] On Behalf Of Kevin 
Sent: Tuesday, April 24, 2007 6:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Ecplise Out Of Memory Errors

 

Is anyone getting this error when running Flex in Eclipse? An out 
of memory error has occurred. Consult the Running Eclipse section 
of the README file

I have no idea what is causing this or how to fix it.

Thanks, Kevin

 

 

 




-- 
Douglas Knudsen
http://www.cubiclem http://www.cubicleman.com an.com
this is my signature, like it? 

 



RE: [flexcoders] Ecplise Out Of Memory Errors

2007-04-24 Thread Peter
 I can't believe you are getting it with 1300! 

Well.unfortunately, I am getting it (about a dozen times a day). At the same
time the VM size of the javaw executable never comes close to this 1300Mb. I
am clueless and frustrated but not a lot of people seem to run into the same
issue so I must assume it is something specific to my setup or way of
working. I just wish I knew in what direction to look for that specific
characteristic. I am sure I would be more than happy to get rid of it, if it
would keep Eclipse running.

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Tuesday, April 24, 2007 7:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Ecplise Out Of Memory Errors

 

now that you mention it, this did start happening when I started working on
my Java/Hibernate code.   Previously, I only used the PHP, SVN  Flex
perspectives. I changed to Xmx512m and I'll see if that helps.  I can't
believe you are getting it with 1300!  I am also going to see if closing my
projects while I am not working on them helps. 

 

- Kevin

 

 

On Apr 24, 2007, at 12:44 AM, Peter wrote:





 

I have it very regularly (very frustrating indeed). I have -vmargs -Xms128m
-Xmx1300m in eclipse.ini but it hardly seems related to the Xmx value. It
does seem related in my case to the fact that I am also using the Eclipse
instance to do Java and/or XML editing and/or Java/Tomcat debugging - I
almost always run into it when I switch from a longer period of flex
editing/debugging to Java (or vice versa).

 

I remember reading on this list that in once case switching automatic
compilation of helped/fixed the problem. I have not tried that though as
that would probably get me in a bigger mess than restarting every hour or
so.

 

If you find out something I would certainly appreciate if you could share
your solution.

 

Thanks!

 

 

Peter

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Tuesday, April 24, 2007 6:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Ecplise Out Of Memory Errors

 

Is anyone getting this error when running Flex in Eclipse? An out 
of memory error has occurred. Consult the Running Eclipse section 
of the README file

I have no idea what is causing this or how to fix it.

Thanks, Kevin

 

 

 

 



Re: [flexcoders] Ecplise Out Of Memory Errors

2007-04-24 Thread Douglas Knudsen

I get this too when using all kinds of plugins and perspectives, running the
Tomcat plugin adds to this too.  Besides raising the memory settings try:
1) close all perspectives not currently in use. there can be only one!  hehe
2) window  preferences  General   and check show heap status.  This will
enable a heap status monitor in the lower left corner by default.  You can
mash the garbage can to force a GC at will.
3) get eclipse updates, occasionally the updates are performance related,
eh?

DK

On 4/24/07, Peter [EMAIL PROTECTED] wrote:


I can't believe you are getting it with 1300!

Well…unfortunately, I am getting it (about a dozen times a day). At the
same time the VM size of the javaw executable never comes close to this
1300Mb. I am clueless and frustrated but not a lot of people seem to run
into the same issue so I must assume it is something specific to my setup or
way of working. I just wish I knew in what direction to look for that
specific characteristic. I am sure I would be more than happy to get rid of
it, if it would keep Eclipse running.


  --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Kevin
*Sent:* Tuesday, April 24, 2007 7:22 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Ecplise Out Of Memory Errors



now that you mention it, this did start happening when I started working
on my Java/Hibernate code.   Previously, I only used the PHP, SVN  Flex
perspectives. I changed to Xmx512m and I'll see if that helps.  I can't
believe you are getting it with 1300!  I am also going to see if closing my
projects while I am not working on them helps.



- Kevin





On Apr 24, 2007, at 12:44 AM, Peter wrote:





I have it very regularly (very frustrating indeed). I have –vmargs
-Xms128m -Xmx1300m in eclipse.ini but it hardly seems related to the Xmx
value. It does seem related in my case to the fact that I am also using the
Eclipse instance to do Java and/or XML editing and/or Java/Tomcat debugging
– I almost always run into it when I switch from a longer period of flex
editing/debugging to Java (or vice versa).



I remember reading on this list that in once case switching automatic
compilation of helped/fixed the problem. I have not tried that though as
that would probably get me in a bigger mess than restarting every hour or
so.



If you find out something I would certainly appreciate if you could share
your solution.



Thanks!





Peter


  --

*From:* flexcoders@yahoogroups.com [mailto:flexcoders flexcoders@
yahoogroups.com] *On Behalf Of *Kevin
*Sent:* Tuesday, April 24, 2007 6:22 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Ecplise Out Of Memory Errors



Is anyone getting this error when running Flex in Eclipse? An out
of memory error has occurred. Consult the Running Eclipse section
of the README file

I have no idea what is causing this or how to fix it.

Thanks, Kevin







 





--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


RE: [flexcoders] Ecplise Out Of Memory Errors

2007-04-24 Thread Peter Farland
I've seen suggestions to also increase the MaxPermSize. I typically run
many projects at once and have found the following eclipse.ini settings
to work well (machine has 2GB RAM).
 
-vmargs
-Xms128m
-Xmx784m
-XX:MaxPermSize=256m
 
Pete



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Tuesday, April 24, 2007 7:47 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Ecplise Out Of Memory Errors



I get this too when using all kinds of plugins and perspectives, running
the Tomcat plugin adds to this too.  Besides raising the memory settings
try:
1) close all perspectives not currently in use. there can be only one!
hehe 
2) window  preferences  General   and check show heap status.  This
will enable a heap status monitor in the lower left corner by default.
You can mash the garbage can to force a GC at will.
3) get eclipse updates, occasionally the updates are performance
related, eh? 

DK


On 4/24/07, Peter [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 



 I can't believe you are getting it with 1300! 

Well...unfortunately, I am getting it (about a dozen times a
day). At the same time the VM size of the javaw executable never comes
close to this 1300Mb. I am clueless and frustrated but not a lot of
people seem to run into the same issue so I must assume it is something
specific to my setup or way of working. I just wish I knew in what
direction to look for that specific characteristic. I am sure I would be
more than happy to get rid of it, if it would keep Eclipse running.

 





From: [EMAIL PROTECTED] ups.com
[mailto:flexcoders@yahoogroups.com http://yahoogroups.com ] On Behalf
Of Kevin
Sent: Tuesday, April 24, 2007 7:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Ecplise Out Of Memory Errors

 

now that you mention it, this did start happening when I started
working on my Java/Hibernate code.   Previously, I only used the PHP,
SVN  Flex perspectives. I changed to Xmx512m and I'll see if that
helps.  I can't believe you are getting it with 1300!  I am also going
to see if closing my projects while I am not working on them helps. 

 

- Kevin

 

 

On Apr 24, 2007, at 12:44 AM, Peter wrote:







 

I have it very regularly (very frustrating indeed). I have
-vmargs -Xms128m -Xmx1300m in eclipse.ini but it hardly seems related to
the Xmx value. It does seem related in my case to the fact that I am
also using the Eclipse instance to do Java and/or XML editing and/or
Java/Tomcat debugging - I almost always run into it when I switch from a
longer period of flex editing/debugging to Java (or vice versa).

 

I remember reading on this list that in once case switching
automatic compilation of helped/fixed the problem. I have not tried that
though as that would probably get me in a bigger mess than restarting
every hour or so.

 

If you find out something I would certainly appreciate if you
could share your solution.

 

Thanks!

 

 

Peter

 





From: flexcoders@yahoogroups.com [ mailto:flexcoders
mailto:flexcoders @yahoogroups.com http://yahoogroups.com ] On
Behalf Of Kevin 
Sent: Tuesday, April 24, 2007 6:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Ecplise Out Of Memory Errors

 

Is anyone getting this error when running Flex in Eclipse? An
out 
of memory error has occurred. Consult the Running Eclipse
section 
of the README file

I have no idea what is causing this or how to fix it.

Thanks, Kevin

 

 

 










-- 
Douglas Knudsen
http://www.cubicleman.com http://www.cubicleman.com 
this is my signature, like it? 

 


RE: [flexcoders] Ecplise Out Of Memory Errors

2007-04-24 Thread Dimitrios Gianninas
Turning OFF automaticy builds does make the problem go away, I am proof of that 
:)
Doesn't bother me cause I just compile my Flex/Java stuff via ant anyways.
 
Dimitrios Gianninas
Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Sent: Tuesday, April 24, 2007 1:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Ecplise Out Of Memory Errors



now that you mention it, this did start happening when I started working on my 
Java/Hibernate code.   Previously, I only used the PHP, SVN  Flex 
perspectives. I changed to Xmx512m and I'll see if that helps.  I can't believe 
you are getting it with 1300!  I am also going to see if closing my projects 
while I am not working on them helps.  

- Kevin


On Apr 24, 2007, at 12:44 AM, Peter wrote:





I have it very regularly (very frustrating indeed). I have –vmargs 
-Xms128m -Xmx1300m in eclipse.ini but it hardly seems related to the Xmx value. 
It does seem related in my case to the fact that I am also using the Eclipse 
instance to do Java and/or XML editing and/or Java/Tomcat debugging – I almost 
always run into it when I switch from a longer period of flex editing/debugging 
to Java (or vice versa).



I remember reading on this list that in once case switching automatic 
compilation of helped/fixed the problem. I have not tried that though as that 
would probably get me in a bigger mess than restarting every hour or so.



If you find out something I would certainly appreciate if you could 
share your solution.



Thanks!





Peter







From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Kevin
Sent: Tuesday, April 24, 2007 6:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Ecplise Out Of Memory Errors



Is anyone getting this error when running Flex in Eclipse? An out 
of memory error has occurred. Consult the Running Eclipse section 
of the README file

I have no idea what is causing this or how to fix it.

Thanks, Kevin







 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L’expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s’il est retransmis sans son autorisation.  Si vous n’êtes 
pas le destinataire visé du présent message ou si vous l’avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l’expéditeur.



Re: [flexcoders] Ecplise Out Of Memory Errors

2007-04-23 Thread Kevin
now that you mention it, this did start happening when I started  
working on my Java/Hibernate code.   Previously, I only used the PHP,  
SVN  Flex perspectives. I changed to Xmx512m and I'll see if that  
helps.  I can't believe you are getting it with 1300!  I am also  
going to see if closing my projects while I am not working on them  
helps.


- Kevin


On Apr 24, 2007, at 12:44 AM, Peter wrote:



I have it very regularly (very frustrating indeed). I have –vmargs - 
Xms128m -Xmx1300m in eclipse.ini but it hardly seems related to the  
Xmx value. It does seem related in my case to the fact that I am  
also using the Eclipse instance to do Java and/or XML editing and/ 
or Java/Tomcat debugging – I almost always run into it when I  
switch from a longer period of flex editing/debugging to Java (or  
vice versa).




I remember reading on this list that in once case switching  
automatic compilation of helped/fixed the problem. I have not tried  
that though as that would probably get me in a bigger mess than  
restarting every hour or so.




If you find out something I would certainly appreciate if you could  
share your solution.




Thanks!





Peter



From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin

Sent: Tuesday, April 24, 2007 6:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Ecplise Out Of Memory Errors



Is anyone getting this error when running Flex in Eclipse? An out
of memory error has occurred. Consult the Running Eclipse section
of the README file

I have no idea what is causing this or how to fix it.

Thanks, Kevin