| Java heap space: out of memory errors [message #637706] |
Mon, 08 November 2010 08:12  |
Shreyas Missing name Messages: 2 Registered: November 2010 |
Junior Member |
|
|
Hi
i was using jdk 1.5 64 bit on Windows 7 (64 bit ) machine.
But i was using Eclipse 32 bit version 3.5.2.
while building,cleaning or anytime i use to get java heap space: out of memory errors in eclipse.
on searching on internet i tried increasing java heap space.
also tried to use both 32 bit versions for jdk and eclipse instead of jdk 64 bit version.
but still i constantly get java heap space errors.
here is content of eclipse .ini
-vm C:\Program Files (x86)\Java\jdk1.5.0_15\jre\bin\javaw
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200 .v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs -Xms512m -Xmx1280m -XX:PermSize=256m
-clean
[Updated on: Mon, 08 November 2010 08:13] Report message to a moderator
|
|
|
| Re: Java heap space: out of memory errors [message #637742 is a reply to message #637706] |
Mon, 08 November 2010 11:11  |
David Wegener Messages: 1154 Registered: July 2009 |
Senior Member |
|
|
On Mon, 2010-11-08 at 08:12 -0500, Shreyas wrote:
> :blush:
>
> Hi
>
> i was using jdk 1.5 64 bit on Windows 7 964 bit ) machine.
>
> But i was using Eclipse 32 bit version 3.5.2.
>
> while building,cleaning or anytime i use to get java heap space: out of memory errors in eclipse.
>
> on searching on internet i tried increasing java heap space.
>
> also tried to use both 32 bit versions for jdk and eclipse instead of jdk 64 bit version.
>
> but still i constantly get java heap space errors.
>
> here is content of eclipse .ini
>
> -vm C:\Program Files (x86)\Java\jdk1.5.0_15\jre\bin\javaw
> -startup
> plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200 .v20090519
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256M
> -vmargs -Xms512m -Xmx1280m -XX:PermSize=256m
> -clean
>
>
The arguments in eclipse.ini all have to appear on separate lines by
themselves. Your ini file shows the Xms, Xmx, and PermSize on the same
line. Put these on separate lines and try again.
|
|
|
Powered by
FUDForum. Page generated in 0.01930 seconds