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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.