Blogroll

Get a website with Godaddy


Logo designer Fiverr Frelancer

Thursday, March 13, 2014

JDE webserver - Heap memory configuration


  • java.lang.OutOfMemoryError: Java heap space
  • 500 Internal Server Error - java.lang.OutOfMemoryError
  • [RETRYABLE_OPERATION_FAILED] Retryable operation failed. java.lang.OutOfMemoryError
  • java.lang.OutOfMemoryError: PermGen space
  • java.lang.OutOfMemoryError: allocLargeObjectOrArray
     
  • Root cause of ServletException.  java.lang.OutOfMemoryError


Initially xms256 xmx 256..but it end up instable performance and lead to restart of the web server 


How to check this error :


E1root.log for JAS instance  - \JDE_HOME\targets\JASInstance\logs

WLS Managed Server log - \Oracle\Middleware\user_projects\domains\JDE\servers\JASInstance\logs
WAS system logs - \WebSphere\AppServer\profiles\AppSrv01\logs\JASInstance
OAS server log - OracleAS1013\j2ee\JAS\log\JAS_default_group_1


WebSphere Application Server:

Check your JVM heap size in the WebSphere Admin console.  You may need to change the default values.  The suggested values are Initial Heap size set to 512 and Maximum Heap size set up to 1024.  To use the WebSphere administrative console to configure the heap size:
  1. In the administrative console, click Servers > Application servers > server_name.
  2. In the Server Infrastructure section, click Java and Process Management > Process Definition > Java Virtual Machine.
  3. Specify a new value in either the Initial heap size or the Maximum heap size field.


Oracle Application Server:

In OAS increase the specified heap memory by changing the Java command line options for the OC4J Instance. Using Application Server Control Console, go to the OC4J instance homepage and perform the following steps for the instance you would like to change:

  1. Under Administration tab, choose Server Properties, click on  "Go to Task"
     
  2. Under the Command Line Options > Start-parameters: Java Options
    Suggested values are Initial heap size (Xms) 1024MB and Maximum heap size (Xmx) 1024MB - both values should be the same.
     
  3. After this change, the instance will need to be restarted.

Or you may :
For OAS the recommend value are Xms1024 - Xmx1024 or if you need more memory you can go up to 1536mb (both).
You can make the change on the OPMN.xml file or via the OAS admin console.

There is a new Enterprise Server JDE.INI parameter to set JVM options just for the Metadata kernel: The parameter is 'MetadataVMOptions' The value for this is  -Xmx256m (max heap size of 256 MB). This should be not higher then 256mb 
[JDE JVM] 
MetadataVMOptions= 
DefaultOptions=


Weblogic 10.3.6

We can use the WebLogic Administration Console.
Having the Admin Server Up and Running, access the console.
Click on Environment, Servers and for each server, on the Monitoring -> Performance tab.





The java.lang.OutOfMemoryError: Java heap space can occur on a WebDev client running Tools Release 8.98.3.3


To resolve this error, increase the PermGen to 256m to fix this issue:
-XX:MaxPermSize=256m



Error Root cause of ServletException. java.lang.OutOfMemoryError

When trying Go To End in any EnterpriseOne 9.1 application, the following errosr appear in these logs:
Weblogic log:
Making changes to the JAVA_OPTIONS parameter should be considered carefully as it may cause adverse performance related issues.  Changing the parameter to 1GB or 2GB should be tested thoroughly; for example:
JAVA_OPTIONS=-Xms256m -Xmx1024m






Heap settings are highly adjustable based on the server memory and this is the reason our document offers other factors to consider when changing the heap settings.  We cannot possibly provide a hard number in our document because it may only help 1 customer not all.  Instead we try to have our customers look at all the factors, how they use EnterpriseOne, number of users, etc.








No comments:

Post a Comment

Amazon store

alidropship plugin

alidropship plugin
alidropship plugin

Total Pageviews

About