Out of memory error with Eclipse 3.1.2 build

Discussion in 'Java' started by Kermit Piper, Jul 24, 2006.

  1. Kermit Piper

    Kermit Piper Guest

    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
     
    Kermit Piper, Jul 24, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    616
    GArlington
    Aug 31, 2007
  2. Todd
    Replies:
    4
    Views:
    560
    Jeff Higgins
    Sep 5, 2007
  3. Replies:
    1
    Views:
    754
  4. shawleigh17
    Replies:
    0
    Views:
    531
    shawleigh17
    Jun 9, 2009
  5. Andrey Platov
    Replies:
    0
    Views:
    166
    Andrey Platov
    Apr 1, 2007
Loading...

Share This Page