Friday, January 21, 2011

How to fix the "Java Virtual Machine" errors while running reports

Our users were complaining that their reports are not completing successfully hence they were getting 'Java Virtual Machine' errors in logfiles so we fixed this with the help of below:-




1. Enter application through application developer responsibility


(N) Concurrent> Program > Define


2. Query for short name of desired reprot = 'XXABC'


3. Click on Parameters


4. Define a new parameter (if not existing)


Parameter Name = 'Scalable Flag' and attach any value set that is 'YES_NO' value set.
Give Default value = 'Y', Token = 'ScalableFlag' and Save it.


5. Close the Parameter definition form


6. Do below change in Concurrent Programe Form
-In the middle block, right side, set the Options field to '-Xmx1024M' (make sure you DON'T MISS
OUT the '-' before X) and Save.


7. Bounce the Concurrent Manager. (optional)


8. Run the report with scalable mode Yes.




---> Setting of '-Xmx1024M' option is helpfull to overcome "huge data and go out of memory" issues.


(Note) Available system memory and its adjustment is a key factor to overcome JVM errors.


For more detail please go through below Metalink IDs:-


362851.1
462550.1

No comments:

Post a Comment