Thursday 21 January 2010

UBEs say done – but blank report

Nothing in the jde.log file for the UBE – but the report is always blank.

Checked out the logs dir and found that the metadata kernel was spitting out logs like:

12796/11260 WRK:Metadata job 14479               Thu Jan 21 15:17:06.025001                   SpecMisc.c3125

            copyER() - jdeSpecFetch() failed with error code, JDESPECRESULT_JAVAEXCEPTION.  Record was selected from repository using the key, a664c624-e6ca-457b-ae0f-412a0275aa68.

12796/11260 WRK:Metadata job 14479               Thu Jan 21 15:17:06.025002                   SpecMisc.c2702

            copyBetweenRepositories() - Failure to copy GBRSPEC/GBRLINK records for report/version R5542565NI_+

12796/11260 WRK:Metadata job 14479               Thu Jan 21 15:17:06.431000                   ServerDispatch.cpp586

            Spec Cache creation for R5542565NI Failed.

12796/11260 WRK:Metadata job 14479               Thu Jan 21 15:17:06.431001                   ServerDispatch.cpp639

            Failed to create job cache (job = [1], report/version = R5542565NI - ANDM002).

After seeing this, I looked at the system/bin32 dir which has stdout for the java process that runs in the metadata kernel, it had:

21 Jan 2010 13:54:03,480 [SEVERE]  - [12796][METADATA]        getInternalCStructFromXML Error, Exception. java.lang.OutOfMemoryError

21 Jan 2010 15:08:48,034 [SEVERE]  - [12796][METADATA]        getInternalCStructFromXML Error, Exception. java.lang.OutOfMemoryError

21 Jan 2010 15:13:08,717 [SEVERE]  - [12796][METADATA]        getInternalCStructFromXML Error, Exception. java.lang.OutOfMemoryError

21 Jan 2010 15:17:06,025 [SEVERE]  - [12796][METADATA]        getInternalCStructFromXML Error, Exception. java.lang.OutOfMemoryError

So – we are out of memory!

Looking at kernel 12797, it’s using 204 Mb of mem,. Which is not excessive

But the default max size for the JVM is 128M

The server JDE.INI can have the following set int increase the size of the JVM:

DefaultOptions=-Xms128m -Xmx256m

XMLPVMOPTIONS=-Djava.compiler=NONE -Xmx256m

MetadataVMOptions=-Xmx256m

A quick fix is a restart!

No comments: