Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Cannot allocate memory MacOS 3.3.2 and 3.4.1
Cannot allocate memory MacOS 3.3.2 and 3.4.1 [message #334365] Wed, 04 February 2009 23:26 Go to next message
Jason Rutherglen is currently offline Jason RutherglenFriend
Messages: 2
Registered: July 2009
Junior Member
Getting "Could not reserve enough space for object heap" when running
eclipse at command line. Is this due to Eclipse on Mac not being 64 bit?

eclipse.ini:

-showsplash
org.eclipse.platform
-vmargs
-server
-d64
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xms1g
-Xmx3g
-XX:MaxPermSize=256m
-Dorg.eclipse.swt.internal.carbon.smallFonts
Re: Cannot allocate memory MacOS 3.3.2 and 3.4.1 [message #334375 is a reply to message #334365] Thu, 05 February 2009 19:19 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Jason Rutherglen" <jason.rutherglen@gmail.com> wrote in message
news:a847407d16854c665ef269941a3558d9$1@www.eclipse.org...
> Getting "Could not reserve enough space for object heap" when running
> eclipse at command line. Is this due to Eclipse on Mac not being 64 bit?

Eclipse 3.5M5, just released, has a 64-bit Cocoa port. Of course, this is
an in-development milestone release, so you can decide for yourself whether
that is stable enough (and supported by enough third-party plugins) for your
needs.

As far as I know there is no 64-bit version of Eclipse 3.4 for Mac.
Information about supported platforms for Eclipse 3.4 is at
http://www.eclipse.org/eclipse/development/eclipse_project_p lan_3_4.html#TargetOperatingEnvironments .
Re: Cannot allocate memory MacOS 3.3.2 and 3.4.1 [message #334397 is a reply to message #334375] Fri, 06 February 2009 20:14 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
You should be able to run a 32-bit eclipse release on 64-bit OS X iff your
VM is 32-bit. If your VM is jre 1.6 then this is not the case since it's
only available in a 64-bit flavour, but if it's pre-1.6 then it could be.
I've never heard of the error you're seeing before, so I'm just guessing
that you have a bit mismatch between your VM and eclipse.

Grant


"Walter Harley" <eclipse@cafewalter.com> wrote in message
news:gmfe35$mqg$1@build.eclipse.org...
> "Jason Rutherglen" <jason.rutherglen@gmail.com> wrote in message
> news:a847407d16854c665ef269941a3558d9$1@www.eclipse.org...
> > Getting "Could not reserve enough space for object heap" when running
> > eclipse at command line. Is this due to Eclipse on Mac not being 64
bit?
>
> Eclipse 3.5M5, just released, has a 64-bit Cocoa port. Of course, this is
> an in-development milestone release, so you can decide for yourself
whether
> that is stable enough (and supported by enough third-party plugins) for
your
> needs.
>
> As far as I know there is no 64-bit version of Eclipse 3.4 for Mac.
> Information about supported platforms for Eclipse 3.4 is at
>
http://www.eclipse.org/eclipse/development/eclipse_project_p lan_3_4.html#TargetOperatingEnvironments .
>
>
Re: Cannot allocate memory MacOS 3.3.2 and 3.4.1 [message #334447 is a reply to message #334365] Mon, 09 February 2009 14:51 Go to previous message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

"Jason Rutherglen" <jason.rutherglen@gmail.com> wrote in message
news:a847407d16854c665ef269941a3558d9$1@www.eclipse.org...
> Getting "Could not reserve enough space for object heap" when running
> eclipse at command line. Is this due to Eclipse on Mac not being 64 bit?
>
> eclipse.ini:
>
> -showsplash
> org.eclipse.platform
> -vmargs
> -server
> -d64
> -Xdock:icon=../Resources/Eclipse.icns
> -XstartOnFirstThread
> -Xms1g
> -Xmx3g
> -XX:MaxPermSize=256m
> -Dorg.eclipse.swt.internal.carbon.smallFonts
>
>

You are trying to allocate 1G of memory at the start. This is quite large.
Try reducing the value to something smaller and see if it helps.
Previous Topic:Eclipse build problem
Next Topic:Console/UI Same Application
Goto Forum:
  


Current Time: Fri Apr 26 15:11:44 GMT 2024

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

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

Back to the top