Skip to Content
author's profile photo Former Member
Former Member

Out of Memory Error- While doing ant clean all

Hi all,

I have included some of the sap related extensions. in localextensions.xml, after that I tried to do an antcleanall, I am getting OutOfMemory Error. I tried to change the Heap size, but no use. Could you please suggest me what needs to be done.

Thanks, .K

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2015 at 05:39 AM

    What size did you set?
    Adding something like this in the setantenv script should do the job, as every time you need to use ant you should set the size:

    export -p ANT_OPTS="-Xmx2048m -XX:MaxPermSize=512M"

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 30, 2015 at 07:17 PM

    Please reference the system requirements document to ensure that the system you are attempting to install on has sufficient resources. Below is the document for the most recent release.

    https://wiki.hybris.com/display/general/System+Requirements+-+Release+5.5

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2015 at 05:28 AM

    Please could you post detailed stack trace here, maybe it's not heap size issue, it could also be permanent size issue.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.