Sunday, June 8, 2008

OutOfMemory errors with WebSphere Portal

WebSphere Portal server might throw OutOfMemory (OOM) errors and might got hung and unresponsive when serving or dowloading large documents through WCM (IBM Workplace Web Content Management ) which are stored in PDM (Portal Document Manager). You might see the following error in SystemErr.log and the JVM might have produced a heapdump,

[5/14/08 14:35:32:984 PDT] 00000086 ModuleManager E IWKCT1382X: Major exception caught: IWKMU1062X: Message: IWKCT1366X: Exception caught servicing a Servlet request for PDMProxy, Cause: java.lang.OutOfMemoryError
[5/14/08 14:35:32:985 PDT] 00000086 ModuleManager E IWKCT1383X: Unexpected error from Module. Details of cause to follow:
[5/14/08 14:35:32:986 PDT] 00000086 ModuleManager E
at com.presence.connect.connector.content.ContentAPIConnection.getBytes( Code))
at com.presence.connect.connector.content.ContentAPIConnection.getItemContents(
at com.presence.connect.connector.content.ContentAPIConnector.getItemContents(
at com.aptrix.pluto.resource.PDMResourceUtils.createPDMMime(
at com.aptrix.pluto.resource.PDMResourceUtils.getPDMData(
at com.aptrix.pluto.resource.PDMResourceServerModule.getResourceMime(
at com.aptrix.pluto.resource.PDMResourceServerModule.buildResponse(
at com.aptrix.pluto.resource.PDMResourceServerModule.retrieveResource(
at com.aptrix.pluto.resource.PDMResourceServerModule.process(
at com.presence.connect.RequestExecutable.execute(
at com.presence.connect.ConnectClient.processSynchronous(
at com.presence.connect.ConnectServlet.process(
at com.presence.connect.ConnectServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at Code))

In order to resolve the issue please apply the IBM recommended ifix PK66778 and tune the JVM heap size, xloratio , pCluster & kCluster based on your application needs, expected load and the optimum performance. IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer (GCMV) which is a part of IBM Support Assistant Tools can help you tune these parameters based on the Garbage Collection logs history.

No comments: