What are we Talking About?

Internals of Java Memory
Spoken from a Java developer’s standpoint
For other Java developers and system administrators


Understanding the Java Memory Layout
Out Of Memory Errors
Garbage Collection Basics
Java Tuning Options –Time Constraint
Questions and Answers

Storing Data in Memory

Java runs as a single process
Does not share memory with other processes
Each process allocates memory
We call this process heap
Ways to allocate memory in a process
C (malloc and free)
C++ (new and delete)
Java (new and dereference -> Garbage Collection)