Skip to main content
Kofax

MarkView Viewer Express - Frequent Out Of Memory errors when using Viewer in MarkView for SAP

Summary 

4209

Applies To

  • ERP System: SAP
  • MarkView Version: 6.5x and earlier

Behavior

  • Users encounter the following error when viewing workitems in Express:
    • java.lang.Throwable:java.lang.OutOfMemoryError.

Known Causes

  • The 'Out of Memory' error is most commonly caused because the MaxPermSize setting is not defined. Adding this setting with a value of 128 (MB) or higher may resolve the issue

Resolution

  • Either modify your startup script or modify your node-manager settings to include "-XX:MaxPermSize=128m". If adding this to the Arguments directly at the server level does not resolve the problem, you should change it in the startmarkview.sh script or the WLS\weblogic81\server\bin\startNodeManager.sh script. The -XX:MaxPermSize=128m setting should be placed immediately after {JAVA_VM} in the startup command, as below:
    • "${JAVA_HOME}/bin/java" ${JAVA_VM} -XX:MaxPermSize="128m" ${MEM_ARGS} ${JAVA_OPTIONS} - Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" Dweblogic.nodemanager.javaHome="${JAVA_HOME}" weblogic.NodeManager.

This parameter can also be added to the Arguments field for the server.

Keywords: Express, OutOfMemoryError