on 01-04-2006 6:24 AM
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...
Hello Sudheesh,
start the config tool in the directory
C:\usr\sap\J2E\JC00\j2ee\configtool (J2E\JC00 depends on your installation) with the batch file configtoool.bat.
In the left tree you have to navigate to cluster-data -> instance_IDXXXXX -> server_IDXXXXX.
In the tab 'General' you can increase the Max Heap Size. This will change the -Xmx parameter for the Java VM of the server. Under 'Java Parameters' you should also have the parameter -XX:MaxPermSize=128m. 128m is the minimum.
Best regards,
Juergen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.