Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Java heap space: out of memory errors(out of memory errors)
Java heap space: out of memory errors [message #637706] Mon, 08 November 2010 08:12 Go to next message
Shreyas Missing name is currently offline Shreyas Missing name
Messages: 2
Registered: November 2010
Junior Member
Embarrassed

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 Go to previous message
David Wegener is currently offline David Wegener
Messages: 1334
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.
Previous Topic:Inheriting from Template Class
Next Topic:How to enable auto-update file content when externally modified?
Goto Forum:
  


Current Time: Fri Jul 25 05:12:29 EDT 2014

Powered by FUDForum. Page generated in 0.01792 seconds