ArrayList Using Memory Mapped File

Introduction

In-Memory computing is picking up due to affordable hardware, most of the data is kept in RAM to meet latency and throughput goal, but keeping data in RAM create Garbage Collector overhead especially if you don’t pre allocate. So effectively we need garbage less/free approach to avoid GC hiccups

Garbage free/less data structure

There are couple of option to achieve it

Object Pool

Object pool pattern is very good solution, i wrote about that in Lock Less Object Pool blog

Off Heap Objects


Source : http://www.javacodegeeks.com/2013/07/arraylist-using-memory-mapped-file.html

Back to Top