facebook

ANT build for xdoclet throw out of memory exception

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #297141 Reply

    jaigates
    Member

    my eclipse.ini setting is
    -clean
    -showsplash
    com.genuitec.myeclipse.product.ide
    –launcher.XXMaxPermSize
    512m
    -vmargs
    -Xms128m
    -Xmx1024m
    -Duser.language=en

    Also, ANT_OPTS is set to -Xmx1024m as env variable

    Inspite of increasing heap space as above, when running the ant file for xdoclet, it throws “out of memory error”. When i check with the ant java process running in background, it does not have any -Xmx values.

    How to make sure all ant files running in eclipse have the 1024m as max heap space

    #297149 Reply

    support-joy
    Member

    Hi,

    Can you try this –
    1. Start your MyEclipse with -clean, refer http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.html
    2. Also add PermSize and MaxPermSize to your config file and see if out of memory exception goes away – http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html

    Let me know if this helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: ANT build for xdoclet throw out of memory exception

You must be logged in to post in the forum log in