SAP Knowledge Base Article - Preview

2735469 - AS Java OutOfMemoryError - exit code [666] - Deadlock in error queue


AS Java instance restarts due to OutOfMemoryError.

  • dev_server log file shows the following error:
    F  [Thr 01] F  [Thr 01] *** LOG => Timer expired (120000 ms).
    F  *** ERROR => Shutdown timer expired.
    F  [Thr 01] *** LOG => exiting (exitcode 22001, retcode 1).
    I  [Thr 01] *** ERROR => e=22 semop(1090519096,(0,-1,4096),1) (22: Invalid argument) [semux0_mt.c  559]
    M  [Thr 01] *** ERROR => CCMS ProcDeregister: lock error [alxxcore_mt. 1845]
  • std_server log file shows similar entries referring to "error queue":
    Server process shutting down with exit code [666]; memory allocation error [OutOfMemoryError]java.lang.OutOfMemoryError: Java heap space (failed to allocate 88 bytes)

     at java.lang.String.intern(Native Method)
     at java.util.jar.Attributes$Name.<init>(
     at java.util.jar.Attributes.putValue(
     at java.util.jar.Manifest.<init>(
     at java.util.jar.JarFile.getManifestFromReference(
     at java.util.jar.JarFile.getManifest(
     at sun.misc.URLClassPath$JarLoader$2.getManifest(
     at Method)
     at java.lang.ClassLoader.loadClass(
     at sun.misc.Launcher$AppClassLoader.loadClass(
     at java.lang.ClassLoader.loadClass(



  • SAP NetWeaver Application Server Java 7.2/7.3/7.31/7.4
  • SAP Java Virtual Machine (JVM) 6.1


SAP NetWeaver 7.2 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3


ErrorQueue.remove, ErrorQueueHandler,, exit code 666, exit code [666], OutOfMemoryError, failed to allocate, Timer expired, Shutdown timer expired, CCMS ProcDeregister, lock error, SAP JVM, SAP Java Virtual Machine , KBA , BC-JVM , SAP Java Virtual Machine , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.