Skip to Content
0
Former Member
Jan 04, 2006 at 06:24 AM

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

31 Views

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...