* Login   * Register


Last visit was:
It is currently Fri Sep 03, 2010 2:02 pm
View unanswered posts
View active topics




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Not enough memory
PostPosted: Fri Nov 09, 2007 7:00 pm 
Offline

Joined: Tue Aug 23, 2005 10:39 pm
Posts: 6
After updating to 3.0.1 build 1002 I get this alert upon starting Eclipse: "Not enough memory. To use FDT you should raise the available memory for eclipse. Edit the file 'eclipse.ini' inside the eclipse installation directory and add the line: -Xmx512m After doing so restart eclipse."

Is this the actual FDT installation methodology, to ask the user to hand edit application init files? Or is this some bug?

Does adding a line with "-Xmx512m" to the 'eclipse.ini' file constitute an increase in memory, or are these 2 separate activities the end-user has to perform to remove the alert? As far as I know, in Mac OS X one cannot allocate memory manually for applications anymore. I have a Dual Core 2.4 GHz Macbook pro with 4 Gb RAM.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 09, 2007 7:30 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2005 5:01 pm
Posts: 527
Location: Aachen, Germany
Hello Isaac,

adding a line with "-Xmx512m" to the 'eclipse.ini' file is exactly what FDT wants you to do.

We will change "Not enough memory." to "Not enough memory assigned to Eclipse" then it's more clear.

Greets, Nico.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 09, 2007 8:07 pm 
Offline

Joined: Mon Aug 22, 2005 5:42 pm
Posts: 101
I had the same problem this morning and think it is something broken in the build because adding the config line didn't help but downloading and installing the zip manually worked fine... Maybe it was the same problem mentioned here?

http://www.powerflasher.com/fdt/forum/v ... php?t=1793

_________________
Eclipse 3.3.0 I20070625-1500
Java 1.5.0_09
Windows XP Professional


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 12, 2007 2:20 am 
Offline

Joined: Wed Sep 05, 2007 10:27 pm
Posts: 4
Changing the config file and the zip file didn't get rid of this error. I'm on OSX Leopard.

Is there solution to this?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 13, 2007 12:12 am 
Offline

Joined: Fri Jul 21, 2006 7:05 pm
Posts: 37
In addition, I already have the line -Xmx768m and I get the error as well. Eclipse 3.3 and OSX 10.4


Top
 Profile  
 
 Post subject: no eclipse.ini to be found in my case
PostPosted: Tue Nov 20, 2007 5:11 pm 
Offline

Joined: Fri Sep 21, 2007 6:39 pm
Posts: 2
i don't seem to have any file on my eclipse installation folder (i also performed a general search through the whole HD) named "eclipse.ini"
could it be the file "config.ini", found in eclipse/configuration?

my specs:
eclipse 3.3.3.1
fdt 3.0.1.1002
mac osx 10.4.10 intel


Top
 Profile  
 
 Post subject: eclipse.ini on MAC
PostPosted: Tue Nov 20, 2007 5:28 pm 
Offline

Joined: Fri Sep 21, 2007 6:39 pm
Posts: 2
"eclipse.ini" is here: .../eclipse/Eclipse.app/Contents/MacOS/eclipse.ini.
go to the eclipse installation folder, right-click on Eclipse.app and choose "Show Package Contents", then navigate through the above mentioned path


Top
 Profile  
 
 Post subject: Works!
PostPosted: Sun Feb 10, 2008 9:11 am 
Offline

Joined: Thu Jul 07, 2005 7:59 am
Posts: 9
Thanks matteomenapace for mentioning the location of eclipse.ini. It worked.

Cheers!

_________________
It's easier to write code than read it.
http://thedigitalmonk.blogspot.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 11, 2008 5:23 am 
Offline

Joined: Wed Oct 25, 2006 8:53 pm
Posts: 2
Location: Seattle
yes! thanks so much also from me matteomenapace. the location of this file was puzzling me. problems solved.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 19, 2008 11:00 pm 
Offline

Joined: Thu Mar 13, 2008 12:12 pm
Posts: 5
Location: Sheffield, UK
I get the same error:

"Not enough memory. To use FDT you should raise the available memory for eclipse. Edit the file 'eclipse.ini' inside the eclipse installation directory and add the line: -Xmx512m After doing so restart eclipse."

I've added the line to my ini, I've replaced the original (-Xmx256m) line and I've also tried adding the 512 version alongside it, but nothing seems to work. Whenever I open FDT within Eclipse I get this error message. To compound the problem, I also get the dialog box saying this this is a trial version of FDT, which I can't then dismiss, so I have to go into Task Manager to force Eclipse to close down.

I'm running Windows Vista, and my Eclipse.ini is as follows:

Code:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx512m


HELP!

_________________
Dan Sumption
Blog - photography - Arts magazine


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 20, 2008 12:11 pm 
Offline
Site Admin

Joined: Fri Oct 20, 2006 3:33 pm
Posts: 1216
Location: Aachen, Germany
I would suggest to create a new "eclipse.ini" (do NOT copy it) and type in the lines (again: NOT copy). Start with only
Code:
-Xms40m
-Xmx512m

and try to start eclipse. Maybe there is an encoding problem with the file or somethink like that. If eclipse can't read the file (for whatever reason) it silently ignores it. Not very nice but true. And if it ignores the file the default memory is to small.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 20, 2008 10:17 pm 
Offline

Joined: Thu Mar 13, 2008 12:12 pm
Posts: 5
Location: Sheffield, UK
I tried that, and it didn't help. But it did guide me to the correct solution...

the problem isn't with FDT, or even with Eclipse, it's a Vista problem. I decided to create my Eclipse directory inside "c:\Program Files" because, call me anal, it seems like a good place to keep program files. Apparently not, because all of the files under there can only be accessed with administrator privileges (I wondered why I had to keep editing the ini file as administrator).

Presumably Eclipse, as it wasn't running with administrator privileges, couldn't access the ini file, so it "silently ignored it".

I re-installed Eclipse at a different location and everything works fine now.

Thanks for the pointer!

_________________
Dan Sumption
Blog - photography - Arts magazine


Top
 Profile  
 
 Post subject: Re: Not enough memory
PostPosted: Thu Aug 28, 2008 11:40 pm 
Offline

Joined: Mon Mar 12, 2007 4:28 pm
Posts: 10
flashrelief wrote:
Changing the config file and the zip file didn't get rid of this error. I'm on OSX Leopard.



Is there solution to this?


same here.
still no answer found in the forum.
@flashrelief: did you find something out?

tnx a lot in advance

_________________
--------------------------
x


Top
 Profile  
 
 Post subject: Re: Not enough memory
PostPosted: Wed Oct 15, 2008 7:32 pm 
Offline

Joined: Wed Oct 15, 2008 7:28 pm
Posts: 1
I had the same problem and I managed to fix it. Here's what my config.ini file looked like by default, before I did anything to it:

marcus.geduld@blogformgroup.com

-showsplash
org.eclipse.platform
-startup
../../../plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.101.R34x_v20080731
-vmargs
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Dosgi.requiredJavaVersion=1.5
-Dorg.eclipse.swt.internal.carbon.smallFonts

The first thing I tried was adding -Xmx512m to the top of the file. That didn't work. I still got the out-of-memory error. I don't know anything about this ini file or its language, but after staring at it for a moment, I wondered if the lower-down -Xmx256m statement was overriding the one I added up top. So I deleted what I'd added and added it back to the bottom of the file. That did the trick.


Top
 Profile  
 
 Post subject: Re: Not enough memory
PostPosted: Thu Mar 25, 2010 12:24 pm 
Offline

Joined: Thu Mar 25, 2010 12:20 pm
Posts: 1
I actually got this working be setting up to 1024Mb for extended memory heap (instead of just 512) and 512 for initial heap size. If nothing else helps, give it a try:

Code:
-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
com.powerflasher.fdt.product.product
--launcher.XXMaxPermSize
512M
-vmargs
Xmx1024m
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB2 template by N.Design Studio
phpBB3 template by SE-Tuning