R12.2 Apps DBA. Powered by Blogger.

java.lang.OutOfMemoryError: Java heap space

No comments :
Standard WEBADI Program EGO Spreadsheet Concurrent Program Errors with Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
On : 12.1.3 version, User Defined Attributes
Standard WEBADI Program EGO Spreadsheet Java Concurrent Program went into error in Production
When attempting to update UDA's via WEBADI program, EGO Spreadsheet Java Concurrent Program fail with the following error.
ERROR
-----------------------
Error is:
INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
java.util.logging.ErrorManager: 2:
oracle.core.ojdl.LoggingException: oracle.core.ojdl.LoggingException: Attempt to flush a closed LogWriter
at oracle.core.ojdl.ExceptionHandler.onException(Unknown Source)
at oracle.core.ojdl.
Solution:
1. You can use the command below to see the process heap size value.
ps -ef|grep java | grep ConcurrentProgram
jmap -heap <pid>
2. Use the -verbosegc option turn on verbose garbage collection to determine the most effective heap size eg:
[GC 325407K->83000K(776768K), 0.2300771 secs]
The number in parentheses (776768K) is the committed size of the heap: the amount of space usable for java objects without requesting more memory from the operating system. That means that the heap size should be greater than (776768K), add an extra 20% for freespace to the heapsize.
To set the heap size for the porgram:
1. System Administrator -> Concurrent program -> Define -> Query for short name "EGOIJAVA"
2. If the Options field under executable region is blank, add "-Xmx2048m -Xms256m"
3. Save.
4. Test the issue

APP-FND-01388: Cannot read value for profile option CONC_REQUEST_STAT in routine & ROUTINE
Solution:
Submitted Purge Concurrent Request and/or Manager Data

No comments :

Post a Comment

Note: only a member of this blog may post a comment.