Out of memory error with Eclipse 3.1.2 build

K

Kermit Piper

Hello,

I am building a Weblogic 8.1/JDK 1.4.2_08/XDoclet 1.1.2 application on
Eclipse 3.1.2 using Ant 1.5.4. When I deploy-ejbs it generates all the
local home interfaces, object, CMP, utility classes and so forth and
all is fine until I get to the point where it compiles all the classes,
at which time I get this message:

"The system is out of resources"
Consult the following stack trace for details.
java.lang.OutOfMemoryError
BUILD FAILED

I set the memory heap for Eclipse properties to:

-vmargs -Xms128m -Xmx784m

Also, In Eclipse (Window-->Preferences-->Classpath-->Ant Home
Entries-->) I changed it from the 1.6.5 plug-ins it was using to
C:\tools\apache-ant-1.5.4.
Ant 1.6.5 wouldn't even get me this far so I went with 1.5.4.

Also, The build using Eclipse was fine when building with Weblogic
7.0/JDK 1.3.1_06. However, I can successfully build from the command
prompt, so is there somewhere else in Eclipse I should set memory args?
Or is it something else? Any help would be greatly appreciated.

Thanks in advance,
KP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,742
Latest member
AshliMayer

Latest Threads

Top