Bug 132462 - OutOfMemoryError when building
Summary: OutOfMemoryError when building
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL: http://jmvanel.free.fr/aspects/gettin...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-19 06:40 EST by Jean-Marc Vanel CLA
Modified: 2006-03-29 05:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Marc Vanel CLA 2006-03-19 06:40:37 EST
Using 
ajdt_1.4.0.20060313055733_archive.zip
with eclipse 3.2M5a

I get this when building :

java.lang.OutOfMemoryError
OutOfMemoryError thrown: Java heap space

although I start eclipse with -XmX900M .

The sources I'm working on is the eXist XML database ( http://exist-db.org/ ).

java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
Comment 1 Matt Chapman CLA 2006-03-19 12:01:56 EST
This is very timely - we've recently been putting a lot of work into reducing memory usage in the compiler. Expect dramatic improvements in a development build very soon - I'll confirm here which build the changes make it into. And thanks for the link - it looks like this project might make a good testcase for our own benchmarking.
Comment 2 Jean-Marc Vanel CLA 2006-03-19 13:17:58 EST
In case you need it to reproduce the problem,
here are my aspects applied to the eXist code base ( http://exist-db.org/ ) :
http://jmvanel.free.fr/aspects/aspects-exist.zip

As aspects, they are just a beginner's first trial,
but as test cases for the compiler it might be useful.
Comment 3 Matt Chapman CLA 2006-03-23 19:03:27 EST
Thanks for the link, I've now setup the eXist project and your aspects, so I'll be able to do some comparisons between versions. The latest development builds of AJDT now contain the memory usage improvements, so hopefully you will notice a difference.
Comment 4 Jean-Marc Vanel CLA 2006-03-29 05:19:21 EST
After a short test, the problem disappeared.
I intend to do more tests in the following days.
Thanks for the help.