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

Out of Memory During "XS Push" (Large Jar File)

Hi All,

This issue is occuring i the context of XS-Advanced, HANA SP12.

I'm trying to deploy a large jar file (180MB) and during the execution of "xs push", I get an out of memory error:

I see that the heap limit is set at 128MB and am hoping that increasing this value will avoid the error. However I cannot find any

reference to this parameter. Has anyone seen encountered this problem before and can this parameter be increased?

Cheers,

Brendan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 26, 2016 at 04:44 AM

    Hello Brendan,

    you can define the "memory" and/or "disk-quota" parameter values in the MTA Deployment Descriptor (mtad.yml) (MTA Deployment Descriptor Syntax - Introduction to Application Development and Deployment (XS Advanced Model) - SAP Libr…)

    or

    define the "memory" and/or "disk-quota" values as options ("-m" for memory and "-k" for disk-quota) for the xs push command (XS CLI: Application Management - Introduction to Application Development and Deployment (XS Advanced Model) - SAP Librar…).

    Regards,

    Florian

    Add a comment
    10|10000 characters needed characters exceeded

    • I'm not so sure its the memory settings on your application, but perhaps instead on the XSA controller itself. Its the push operation itself which is running out of heap. Perhaps try to increase the heap memory allocated to the XS Controller:

      Replace -Xmx128m in /hana/shared/<sid>/xs/bin/xs-controller with -Xmx256m or even a higher value. After that you need to restart xs-controller, e.g. with “HDB stop && HDB start”

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.