Discrepancy on the reported memory usage between Task Manager & Server Health
search cancel

Discrepancy on the reported memory usage between Task Manager & Server Health

book

Article ID: 423707

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

After running tests and the test is over, Server Health is not matching Task Manager.  Memory is not being released.

 

Environment

All supported DevTest releases.

Resolution

In the DevTest Portal, only Java heap memory is shown. This is the memory used by the application to store data while it is running.

In Task Manager, the memory value shows higher as it includes:

  • Heap memory (application data) — this is the same value shown in the DevTest Portal
  • Non-heap memory — JVM internal memory such as class metadata and compiled code
  • Native / OS memory — thread stacks, libraries, and system-level overhead

This difference is normal and expected. DevTest Portal displays only heap memory, while Task Manager shows total memory used by the Java process.