GhostMem 1.0.1: Verbose Logging and Better Documentation


I'm excited to share the first update to GhostMem, the C++ library that compresses memory in RAM using clever paging! Version 1.0.1 focuses on developer experience with a new debugging feature, better documentation, and support for project sustainability.

For those new to GhostMem: it's designed to dramatically reduce your application's RAM footprint through intelligent compression and paging. With optional on-disk swap support, your programs can run with minimal RAM requirements—GhostMem handles the heavy lifting of keeping data compressed and paging it efficiently.

🔍 Verbose Logging: See What's Happening Under the Hood

The headline feature of this release is verbose logging. Ever wondered what GhostMem is doing as it compresses and pages your memory? Now you can watch it in action!

Simply enable it in your GhostConfig:

GhostConfig config;
config.enable_verbose_logging = true;

With verbose logging enabled, GhostMem will output detailed debug information about:

  • Memory compression and decompression operations
  • Paging events and swap activity
  • RAM usage optimization in real-time
  • Disk swap operations (when enabled)
  • Performance metrics and compression ratios

This is incredibly useful during development and troubleshooting. You can observe how effectively your data is being compressed, monitor paging behavior, and fine-tune your configuration for optimal performance.

📚 Documentation Gets a Major Upgrade

Good documentation makes all the difference. This release includes significant improvements across all documentation files:

  • Better Navigation: The README now features badges and a well-organized link structure to help you find what you need faster
  • Quick Reference Table: A new table in the API reference gives you instant access to all configuration options
  • Enhanced Cross-References: "See Also" sections throughout the docs help you discover related features and concepts
  • Updated Examples: All code examples now include the new verbose logging feature, so you can learn by seeing it in action

Whether you're just getting started or diving deep into advanced features, the documentation is now more accessible and easier to navigate.

💝 Supporting the Project

Open source thrives on community support. This release introduces a funding configuration file (.github/FUNDING.yml), making it easy for users who find GhostMem valuable to support its continued development.

If you're using GhostMem in your projects and want to see it grow, sponsorship options are now available. Every contribution helps maintain the project, add new features, and improve documentation.

What's Next?

This update lays the groundwork for more developer-friendly features. Future releases will continue to focus on:

  • Add encryption during use of I/O swap (disk swap)
  • Smarter paging strategies
  • More granular control over RAM vs. disk swap balance
  • Additional debugging tools for analyzing compression efficiency

Get Started

If you haven't tried GhostMem yet, check out the GitHub repository to get started. The new documentation will have you up and running in minutes!

For existing users, upgrading is straightforward—the new verbose logging feature is optional and won't affect your current configuration.

Happy coding, and here's to running more with less RAM! 🚀


Have feedback or questions about GhostMem? Feel free to open an issue on GitHub or reach out through the project's communication channels.