in reply to Re: System call doesn't work when there is a large amount of data in a hash
in thread System call doesn't work when there is a large amount of data in a hash
I tried this script and it worked fine on my laptop, put 12 GB of the 16 GB available in hash and system call still works
I did got varying results on the Centos 7 (450 GB of RAM), I monitored it also with top, if I saw a memory increase
20 GB, 50 GB, 100 GB, 150 GB and 200 GB all worked fine, didn't see any memory increase either
But with 230 GB (more than half of the available) I ran out of memory (Cannot allocate memory), so I need the same amount of memory free than there is in the hash.
I also made the system call loop for 10 times and the bigger the hash, the slower the system call starts
|
---|