2015/07/26 - Apache DirectMemory has been retired.

For more information, please explore the Attic.

Apache DirectMemory 0.2

The Apache DirectMemory Team would like to announce the 0.2 release.

Apache DirectMemory is a multi layered cache implementation featuring off-heap memory management to enable efficient handling of a large number of java objects without affecting jvm garbage collection performance

It's a technology preview release. So some APIs can be change in the future.

We hope you enjoy using Apache DirectMemory! If you have any questions, please consult:

Release date: 2013-09-15.

Apache DirectMemory 0.2 release notes


  • [DIRECTMEMORY-28] - Create an alternative MemoryService using sun.misc.Unsafe
  • [DIRECTMEMORY-69] - Expose InputStream and OutputStream Interfaces instead of internal Pointer.directBuffer
  • [DIRECTMEMORY-104] - Precise correct DirectMemory usage and fix typo in documentation
  • [DIRECTMEMORY-124] - Create an utility class IterableV over CacheK,V
  • [DIRECTMEMORY-125] - General code improvements
  • [DIRECTMEMORY-131] - Using DirectMemory as level 2 cache for Guava Cache

New Feature

  • [DIRECTMEMORY-60] - EHCache Integration


  • [DIRECTMEMORY-49] - MemoryManagerService.update does not reuse the same pointer
  • [DIRECTMEMORY-57] - Pointer.free should be atomic / thread safe
  • [DIRECTMEMORY-82] - CacheService should implement Closable / Review the livecycle of the CacheService/MemoryService/ByteBufferAllocator objects
  • [DIRECTMEMORY-103] - Add Kryo serializer
  • [DIRECTMEMORY-105] - Kryo Serializer adapter isn't threadsafe
  • [DIRECTMEMORY-126] - upgrade to ehcache 2.6.6
  • [DIRECTMEMORY-127] - ehcache integration OSGI tests no longer work
  • [DIRECTMEMORY-128] - Mark aspectj package import as optional and other Import-Package fixes
  • [DIRECTMEMORY-129] - Kryo serializer usage is not thread safe
  • [DIRECTMEMORY-130] - MemoryManagerService does not reset the used memory count to zero in clear
  • [DIRECTMEMORY-132] - incorrect case name in bench.sh
  • [DIRECTMEMORY-133] - "DirectMemory Simple Usage" doc improvement