Skip to content

Releases: akhoury/nano-cache

memory managment

10 May 18:43
Compare
Choose a tag to compare

New memory management features:

  • now supports using full system memory, ignoring the heap memory limit (usually 1.5GB)
  • cache can now be managed by size in bytes
  • now detects available memory, and manually triggers garbage collection if enabled with node --expose-gc
  • zlib memory compression is used unless disabled
  • memory is freed up by Least Recently Used when necessary

NOTE:

  • all values must now be basic types (stirngs, arrays, etc) or other JSON serializble objects