Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Java Heap Error(Getting Java Heap Error after loading project)
Java Heap Error [message #1006784] Fri, 01 February 2013 19:57 Go to next message
Menachem Bazian is currently offline Menachem BazianFriend
Messages: 1
Registered: February 2013
Junior Member

I need to do some mods of SugarCRM. I created a php project in EclipsePDT and it loaded. After some time, I got a java heap error and Eclipse shut down.

The error seems to be happening as it is building the workspace for the SugarCRM project (which has thousands of files).

Any ideas on what I can do? I researched the error and it seems to be a memory error. However, if I try to bump the memory beyond 640M, I get an error "could not create java vm". Here's my ini:

C:\Program Files (x86)\Java\jre7\bin
Eclipse for PHP Developers

I am running Windows 7/64 with 8GB of RAM (4.6 used).

Eclipse runs fine on smaller projects.

Any assistance would be great appreciated.
Re: Java Heap Error [message #1007469 is a reply to message #1006784] Wed, 06 February 2013 02:51 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
>C:\Program Files (x86)\Java\jre7\bin
It seems that you're using 32bit JRE which have client mode vm only.

Only for increasing heap size, try
1. Install JDK 7u13(x86)
2. Edit eclipse.ini (maybe eclipse-php.ini in your case)
|C:\Program Files (x86)\Java\jdk1.7.0_13\bin\javaw.exe
Previous Topic:Cannot debug in a remote server
Next Topic:Current debug line not highlighted
Goto Forum:

Current Time: Mon Mar 27 08:31:57 GMT 2023

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

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

Back to the top