cancel
Showing results for 
Search instead for 
Did you mean: 

Error getting while deploying the application (java.lang.OutOfMemoryError).

Former Member
0 Kudos

Hi,

I am trying to migrate an application from JBoss to SAP Netweaver WAS.

I am getting an exception when i am trying to deploy the application from Netweaver developer studio as "<b>java.lang.OutOfMemoryError</b>". The portion of the stack is given below,

<b>Caused by: com.sap.engine.services.ejb.exceptions.deployment.EJBFileGenerationException: Errors while compiling:

The system is out of resources.

Consult the following stack trace for details.

java.lang.OutOfMemoryError

at com.sap.engine.services.ejb.util.AdminUtils.compile(AdminUtils.java:476)

at com.sap.engine.services.ejb.deploy.DeployAdmin.deploySingleJar(DeployAdmin.java:625)

at com.sap.engine.services.ejb.deploy.DeltaDeployAdmin.makeUpdate(DeltaDeployAdmin.java:185)

at com.sap.engine.services.ejb.EJBAdmin.makeUpdate(EJBAdmin.java:529)</b>

I heard that by changing some configuration values, we can resolve the problem (like adjusting -Xms & - Xmx parameters as well as the Max threads). But i don't know in which script/ tool should i find these settings to change.

Could you please share your knowledge in this regard,

Best regards,

Sudheesh...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You can change the XMX and thread parameter in the Visual Administrator.

Please refer to the link below:

http://help.sap.com/saphelp_erp2005/helpdata/en/42/c98d6b11886babe10000000a1553f6/frameset.htm

Hope this helps,

Regards,

Harish

(Please award points for useful answers)

Former Member
0 Kudos

Hi Harish,

Thank you once again for solvin the problem. Initially the XMX value was set to zero. I have changed it to 1000M

With best regards,

Sudheesh...

Answers (0)