linux check free memory code example
Example 1: linux how to free memory
echo 2 > /proc/sys/vm/drop_caches
Example 2: how can I check ram usage in mb in linux?
for more information search this webside --
https://www.howtogeek.com/659529/how-to-check-memory-usage-from-the-linux-terminal/
Example 3: free memory linux command
# sync; echo 1 > /proc/sys/vm/drop_caches