1. A method comprising: providing a memory module including one or more DRAM devices and interfacing with a host computer via a double data rate (DDR) memory interface; providing an initial virtual memory capacity of the memory module; monitoring inline compression and/or deduplication of data written to the memory module based on compression and/or deduplication of data stored in the one or more DRAM devices of the memory module; providing a compression and/or deduplication ratio of the memory module to a kernel driver module of the host computer over the DDR memory interface based on data written to the one or more DRAM devices; dynamically updating a virtual memory capacity of the memory module based on changes of the compression and/or deduplication ratio; reserving, using the kernel driver, memory pages in a system memory as the compression and/or deduplication ratio decreases and releasing the memory pages reserved in the system memory to an operating system as the compression and/or deduplication ratio increases to allow the operating system to utilize an amount of memory space corresponding to the virtual memory capacity of the memory module.