Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: System call doesn't work when there is a large amount of data in a hash

by Nicolasd (Acolyte)
on Apr 29, 2020 at 15:13 UTC ( [id://11116220]=note: print w/replies, xml ) Need Help??


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

Thanks so much! What you explained seems to be the problem, I just tested a script, this is the answer to a previous comment:
Seems to verify what you explained

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

  • Comment on Re^2: System call doesn't work when there is a large amount of data in a hash

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11116220]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found