Community
Participate
Working Groups
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)
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.
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.
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.
After a short test, the problem disappeared. I intend to do more tests in the following days. Thanks for the help.