Results 1 to 2 of 2
Hello everyone there, I am having this problem with RAM memory not being freed when expected. I am using an ETL tool that is reading massive text files. This ETL ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-04-2013 #1
- Join Date
- Nov 2013
Running out of RAM memory because IO cached - RHEL 6.4
I am having this problem with RAM memory not being freed when expected.
I am using an ETL tool that is reading massive text files.
This ETL tool does not manage memory itself, it relies on Unix to do so.
For some reason, when reading these files, cached memory goes up and it will not go down when ETL process is finished.
When executing command
Executing the following command:
sudo sync && sudo sysctl –w vm.drop_cache=3
Apparently, there is some way to limit the IO cache, or establish a min and max % IO cache. In my case, I would need this very low (as I will not read again same files, but need as maximum avaliable memory as possible)
Any ideas guys how can I achieve this?
Thanks very much in advanced!!
- 11-04-2013 #2
- Join Date
- Nov 2007
The kernel will use all available physical memory. When needed, the kernel will drop any cache/buffer data. Your system does not need the memory for another use, so it leaves the cache in RAM. This is normal/by design - more info about Linux memory management is available via Google.
I would need this very low