Hi Monks,
With 64bit strawberry Perl on windows, when I have very large scalars, I notice that the RAM usage is twice as high as I would expect.
A basic example is:
use Devel::Size qw(total_size); $x = 'a' x (2**32); # 4GiB print total_size($x) . "\n"; sleep 60;
The output is 4294967330, however the windows commit and active working set for perl.exe is 8GiB. Devel::Peek also reports 4GiB for the SV len... ?
In reply to Memory usage double expected by sectokia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |