SAP Knowledge Base Article - Preview

2695294 - OOM issue due to "java.lang.OutOfMemoryError: Metaspace, Could not allocate 0 bytes"


The following error has been observed:


Memory allocation error [OutOfMemoryError] occurred java.lang.OutOfMemoryError: Metaspace...
Server process shutting down with exit code [666];
memory allocation error [OutOfMemoryError]java.lang.OutOfMemoryError: Metaspace
***ERROR (:0): OutOfMemoryError: Could not allocate 0 bytes




  • SAP NetWeaver Application Server Java all versions
  • SAP Java Virtual Machine


SAP Java Virtual Machine all versions ; SAP NetWeaver Application Server for Java all versions ; SAP NetWeaver all versions


OutOfMemoryError: Metaspace, fragmentation, Compressed Class Space, CompressedClassSpaceSize, OOM, 666 , 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 for Me (Login required).

Search for additional results

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