Reduce the memory overhead

 

Yes you can !

Tourman Benjamin

  • Lead Developer at Kaliterre
  • Work on Greenspector

What's Memory Overhead ?

What's Memory Overhead ?

Object Size - Primitive Size = Memory Overhead

How to measure Objects ?

Deep Object Sizes

Shallow Object Sizes

Retained Object Sizes

Primitive Size

 

Java Type Bytes Required
boolean 1
byte 1
char 2
short 2
int 4
float 4
double 8
long 8

Example

Example

Example

Developer, keeper of memory

Developer, keeper of memory

Developer, keeper of memory

Made with Slides.com