Hi John,

Could you please re-phrase you question.
What issue are you trying to solve?

Probably, you should address your question directly to dev-list. 

Anyway, you can read about memory region architecture at [1] and [2]. Hope it 
helps.

[1] https://apacheignite.readme.io/docs/memory-architecture
[2] 
https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Durable+Memory+-+under+the+hood

Thank you,
Alexey

From: John Wilson
Sent: Tuesday, January 9, 2018 1:58 AM
To: user@ignite.apache.org
Subject: Why does Ignite de-allocate memory regions ONLY during shutdown?

Hi,

I was looking at the UnsafeMemoryProvide and it looks to me that allocated 
direct memory regions are deallocated only during shutdown.

https://github.com/apache/ignite/blob/c5a04da7103701d4ee95910d90ba786a6ea5750b/modules/core/src/main/java/org/apache/ignite/internal/mem/unsafe/UnsafeMemoryProvider.java#L80

https://github.com/apache/ignite/blob/c5a04da7103701d4ee95910d90ba786a6ea5750b/modules/core/src/main/java/org/apache/ignite/internal/mem/unsafe/UnsafeMemoryProvider.java#L63

My question:

if a memory region has been allocated and, during execution, all data pages 
that are in the region are removed, then why is the memory region de-allocated?

Thanks,



Reply via email to