MemFree depleted in /proc/meminfo when writing to flash memory
Hi,
I have a problem where I am writing a 14 MB file into the flash memory. This will be a partition on the ext4 filesystem. However, when I do this, I see that MemFree in /proc/meminfo is decreasing by ~28MB. Could you please let me know why writing into flash reduces memory in RAM? What interactions do flash and RAM have here? I expected none.
If I delete the file, I regain "most" of the memory back. Why does this happen?
One more info that I need here. The "Active:" in /proc/meminfo increases with the write file action, and does not clear up with the file delete. It is "held up". Could you please let me know why does this happen?
Regards,
Srivatsa
|