CMD + K

smmap

Community

A pure git implementation of a sliding window memory map manager.

Installation

To install this package, run one of the following:

Conda
$conda install anaconda::smmap

Usage Tracking

5.0.2
4.0.0
3.0.5
3.0.4
3.0.2
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

Smmap wraps an interface around mmap and tracks the mapped files as well as the amount of clients who use it. If the system runs out of resources, or if a memory limit is reached, it will automatically unload unused maps to allow continued operation.

To allow processing large files even on 32 bit systems, it allows only portions of the file to be mapped. Once the user reads beyond the mapped region, smmap will automatically map the next required region, unloading unused regions using a LRU algorithm.

Although the library can be used most efficiently with its native interface, a Buffer implementation is provided to hide these details behind a simple string-like interface.

For performance critical 64 bit applications, a simplified version of memory mapping is provided which always maps the whole file, but still provides the benefit of unloading unused mappings on demand.

About

Summary

A pure git implementation of a sliding window memory map manager.

Last Updated

Jul 17, 2025 at 12:23

License

BSD-3-Clause

Supported Platforms

win-64
linux-64
linux-aarch64
macOS-64
macOS-arm64

Unsupported Platforms

noarch Last supported version: 4.0.0