Oak
Oak copied to clipboard
Make BlocksPool not a singleton
This class is a singleton so keeps a reference to all blocks/ByteBuffers at all time so off heap memory is never released even if oak is closed and not referenced anymore