I am trying to delete an extensive number of files(in several million) with command,
find . -name "file*" -delete
Terminal showed output of
Killed. I searched over the internet and seen dmesg,
Out of memory: Kill process 25284 (find) score 691 or sacrifice child Killed process 25284, UID 0, (find) total-vm:11666436kB, anon-rss:3229204kB, file-rss:620kB
I think it is due to OOM killer, as
/proc/sys/vm/overcommit_memory shows overcommit is set to 0. I was wondering how can I avoid this issue? I can't delete the files manually.