ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: off heap memory
Date Thu, 26 Nov 2015 06:42:02 GMT

You're correct saying that Ignite's off-heap cache memory mode uses 
Unsafe at the implementation layer.
Right, there is no any de-fragmentation related logic in Ignite, this is 
delegated to an operating system that knows how to do this better.

Allocated memory re-usage, what slab allocator does, sounds interesting.
Do you have any info/articles on how the mentioned memory grids benefit 
from implementing the slab like way and what are the names of those grids?


On 11/26/2015 8:29 AM, Ambha wrote:
> After looking at the code, it looks like the 'off-heap' uses the 'Unsafe' of
> java to manage the memory. But 'Unsafe' has issues like fragmentation and
> also adds memory allocation/de-allocation cost. I have seen some memory grid
> implementations using 'slab allocator' on top of java native to minimize the
> fragmentation issue and the allocation cost. Is there something similar
> implemented in Ignite? If not, any plan in future release?
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/off-heap-memory-tp2019p2059.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message