This content has been marked as final.
Show 3 replies
-
1. Re: Out of Memory error with
letiemble May 27, 2004 4:00 AM (in response to willimur)Hi,
XDoclet generation is run as forked. Try to search on the Eclipse mailing list to change forked Ant memory settings.
Laurent. -
2. Re: Out of Memory error with
dblaisdell Jul 16, 2005 11:17 AM (in response to willimur)I have searched the mailing list and still can't find a solution to this problem. Have either of you figured out how to change the ant memory settings?
-
3. Re: Out of Memory error with
dblaisdell Jul 16, 2005 12:31 PM (in response to willimur)I would like to thank willimur to responding to an e-mail about the ANT_OPTS problem. Here is his solution:
Just change the memory settings for the default JVM that you have
defined in Eclipse. (Meaning, in Preferences under "Installed JREs"
go to the "default VM options" and put some setting like "-Xms192m -
Xmx768m" (minus the quotes). Note of could "ms" is the amount of
memory to assign at startup and "mx" is the maximum that it's allowed
to grow.
Our system is HUGE and has hundreds of Local and Remote Interfaces,
Message Beans, Value Objects, etc. and generally gets by XDoclet
compiling with 512m.
Thank you!