Perl-Sensitive Sunglasses | |
PerlMonks |
Re^4: System call doesn't work when there is a large amount of data in a hashby jcb (Parson) |
on Apr 30, 2020 at 01:47 UTC ( [id://11116257]=note: print w/replies, xml ) | Need Help?? |
Could it be that the system call duplicates everything that is in the virtual memory to start the sister process? In theory, fork (used to implement system) does exactly that. Modern kernels with virtual memory will set up COW instead of actually copying the entire address space, but this still (usually) requires duplicating page tables, which for 256GiB of data with 4KiB pages themselves fill 512MiB or so. Could you be bumping up against a resource limit? (Look up ulimit for more information.)
In Section
Seekers of Perl Wisdom
|
|