2253211 - VMC Global Memory allocation 100% | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2253211 - VMC Global Memory allocation 100%

Symptom

Memory allocation in transaction SM52 shows 100%.

VMC.jpg
You might find in work process trace file (dev_w<xx>):

  X  *** ERROR => Eg2CtxMalloc: Eg2CtxRealloc failed
  X  *** ERROR => Eg2AllocMmResource: Eg2Malloc failed
  M  *** ERROR => ThVmcMallocHandler2: MmxMalloc xxxxxx bytes in heap <Shared Data> for V<nr> failed
  M  <VMC Vnr> Poolsize               : <PS size> MB
  M  <VMC Vnr> Total                   : xxxx.xx MB     (Alloc xxxx.xx MB)
  M  <VMC Vnr> shared classes     :   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)
  M  <VMC Vnr> shared equ. classes :   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)
  M  <VMC Vnr> shared code        :   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)
  M  <VMC Vnr> shared data         :   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)
  M  <VMC Vnr> shared data small  :   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)
  M  <VMC Vnr> shared cpy only data:   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)
  M  <VMC Vnr> shared cpod small  :   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)
  M  <VMC Vnr> shared admin         :   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)
  M  <VMC Vnr> shared misc            :   xx.xx MB     (Peak    ----- MB, Alloc   ----- MB, AllocPeak   ----- MB)

This means that the Shared Pool (the global memory area of the VMC which only exists once) was exhausted and the Shared Garbage Collector could not free enough space to continue the normal VMC behaviour.

There can also be created a VM_STACK_TRACE dump, showing OutOfSharedMemoryError:
VMC_2.jpg


Read more...

Environment

SAP NetWeaver system;

Product

SAP NetWeaver all versions

Keywords

Global Memory allocation, Global Memory, ThVmcMallocHandler2, Shared Pool,
Caution: Global memory allocated up to 99%, Global memory allocated up to,
vmcj/option/ps, poolsize, Eg2AllocMmResource, Eg2CtxRealloc2 failed, Eg2CtxRealloc2 , KBA , BC-VMC , Virtual Machine Container , 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.