Re: off heap memory deallocation

2016-08-18 Thread Maximilian Michels
Hi, Off-heap memory currently only gets deallocated once MaxDirectMemory has been reached. We can't manually clear the memory because some of the code assumes that it can still access old memory after it has been released. In case of offheap memory, that would give us a segmentation fault. We cur

off heap memory deallocation

2016-08-17 Thread Janardhan Reddy
Hi, When does off heap memory gets deallocated ? Does it get deallocated only when gc is triggered ? When does the gc gets triggered other than when the direct memory reached -XX::MaxDirectMemory limit passed in jvm flag. Thanks