Don't ask to ask, just ask | |
PerlMonks |
Re^3: System call doesn't work when there is a large amount of data in a hashby 1nickt (Canon) |
on Apr 29, 2020 at 01:53 UTC ( [id://11116184]=note: print w/replies, xml ) | Need Help?? |
Hi, " I need these large hashes to store genetic data in a hash" That's a bit like saying " I need these hashes because I need these hashes." See: Also see: Does your "genome assembly tool" accept Perl data hashes as input? Of course it does not. Therefore you must be somehow serializing your massive input to the program in your system call. Perhaps you need to write a file, or provide a data stream to a server? As noted by my learned colleague swampyankee, it's hard to conceive of why you need to store 250Gb of data in an in-memory hash. There are myriad techniques to avoid doing so, depending on your context; why don't you explain a bit more about that, and show some code?Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|