[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Limiting memory with ulimit



Hi,

I currently have a hard data seg limit of 30,000K (ulimit -Hd) and I'm
trying to run a perl-one liner:

perl -e 'for (0..1000000) { push @x,"1234567890"; }; print <>;'

which easily manages to allocate 46,352K VSZ and 44,448K RSS.

Could anyone please tell me what do I have to limit for the memory
restriction to actually take place?

-- 
Best regards,
Ilya Konstantinov

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il