Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Java memory management, what does 'PS' stand for?

Tags:

java

Whenever I see reference to memory in Java, the various spaces are always prefixed with 'PS'. What does 'PS' mean? It's starting to bother me... my only guess so far is 'pool space', but that would be redundant.

Examples:

  • PS Eden Space
  • PS Survivor Space
  • PS Tenured Space (Old Generation)
  • PS Perm Gen (Permanent Generation)
like image 722
David Fuchs Avatar asked Aug 03 '11 20:08

David Fuchs


People also ask

What is PS in Java?

The ps command On Linux, Java™ threads are implemented as system threads and might be visible in the process table, depending on the Linux distribution. Running the ps command gives you a snapshot of the current processes. The ps command gets its information from the /proc file system.

What is memory management in Java?

Memory management in Java is the process of allocating working memory space to new objects and properly removing unreferenced objects to create space for those new object allocations.

What is PS survivor space?

PS Survivor Space: The amount of memory (in Megabytes) used in the Survivor component of the "Young Generation" memory. PS Old Gen: The amount of memory (in Megabytes) used in the "Old Generation" memory.

Why is Java memory management?

In Java, memory management is the process of allocation and de-allocation of objects, called Memory management. Java does memory management automatically. Java uses an automatic memory management system called a garbage collector. Thus, we are not required to implement memory management logic in our application.


1 Answers

I could be wrong but i'm pretty sure it stands for Parallel Scavenge (has to do with garbage collection)

Improving Java Application Performance and Scalability by Reducing Garbage Collection Times and Sizing Memory Using JDK 1.4.1: Parallel Scavenge Collector

like image 70
Wolfcow Avatar answered Sep 21 '22 08:09

Wolfcow