If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Out of memory error (Cognos Audit Extension)

Started by Yizi, 26 Nov 2012 09:16:34 AM

Previous topic - Next topic

Yizi

I've installed and configured the Cognos Audit Extension 10 on the server. Everything is good until when I run the job. After 5-10 minutes it gives a out of memory. Please check below:

java.lang.OutOfMemoryError
org.apache.axis.message.SAX2EventRecorder$objArrayVector.add(SAX2EventRecorder.java:254)
org.apache.axis.message.SAX2EventRecorder.characters(SAX2EventRecorder.java:91)
org.apache.axis.encoding.DeserializationContext.characters(DeserializationContext.java:963)
org.apache.xerces.parsers.AbstractSAXParser.characters(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleCharacter(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:698)
org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
org.apache.axis.client.Stub.getResponseHeader(Stub.java:334)
com.cognos.cogHelperLibs.c10.C10Connect.getCMService(C10Connect.java:264)
com.cognos.cogHelperLibs.c10.C10Connect.getCMService(C10Connect.java:257)
com.cognos.c10AuditExtension.Cognos10Client.processAccountAuditRecurse(Cognos10Client.java:2796)
com.cognos.c10AuditExtension.Cognos10Client.processAccountAuditRecurse(Cognos10Client.java:2818)
com.cognos.c10AuditExtension.Cognos10Client.processAccountAuditRecurse(Cognos10Client.java:2818)
com.cognos.c10AuditExtension.Cognos10Client.processAccountAuditRecurse(Cognos10Client.java:2818)
com.cognos.c10AuditExtension.Cognos10Client.processAccountAudit(Cognos10Client.java:2632)
com.cognos.c10AuditExtension.AuditEngine.runAudit(AuditEngine.java:361)
com.cognos.c10AuditExtension.AuditEngine.runAudit(AuditEngine.java:150)
com.cognos.c10AuditExtension.AuditServlet.doGet(AuditServlet.java:809)
com.cognos.c10AuditExtension.AuditServlet.doPost(AuditServlet.java:51)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


Please refer to the attached image for more information

The quieter you become, the more you can hear

Yizi

I've fixed this issue by modifying some XML config files but now I get a audit exceeded error:

2012-11-27 14:09:43,659 [http-9300-1] WARN  com.cognos.c10AuditExtension.Cognos10Client - Account Audit exceeded configured max item count of: 10000
2012-11-27 14:09:43,659 [http-9300-1] INFO  com.cognos.c10AuditExtension.Cognos10Client - Limit exceeded processing item: CAMID("Default:f:6b82a77815f09c4ca25cb1d41c1ba5da")
2012-11-27 14:09:43,659 [http-9300-1] WARN  com.cognos.c10AuditExtension.Cognos10Client - Account Audit failed for namespace 'Default' due to processing limit breach (items)
2012-11-27 14:09:43,690 [http-9300-1] WARN  com.cognos.c10AuditExtension.AuditEngine - Account audit for server 'BI 1' experienced errors
2012-11-27 14:09:43,706 [http-9300-1] INFO  com.cognos.c10AuditExtension.AuditEngine - Processing security members for audit ID 12 and audit group ID 12 on server: BI 1
2012-11-27 14:09:43,721 [http-9300-1] INFO  com.cognos.c10AuditExtension.AuditEngine - Audit for server 'BI 1' completed with errors (audit ID 12, audit group ID 12)


Error: ERROR - One or more errors occurred during the audit run. Check log file. 
The quieter you become, the more you can hear

Yizi

After some testing, we managed to find out that if we wrong the audit separably it works fine e.g. Content audit or Account audit, but when we run it all together we get the memory issue, seems to be some sort of a config problem even though I've set everything to unlimited and played around with high and low settings.
The quieter you become, the more you can hear