On Tue, May 17, 2011 at 09:10, Daniel Lezcano <[email protected]> wrote:
> On 05/17/2011 08:34 AM, Ulli Horlacher wrote:
>>
>> root@flupp:~# clp
>> Command Line Perl with readline support, @ARGV and Specials. Type "?" for 
>> help.
>> (perl):: undef $/; open F,'/tmp/1GB.tmp' or die; $_=<F>; print length
>>
>> 1073741824
>
> I don't know exactly what does your perl program

It reads the whole file into a variable and then prints the length of
that variable, which shows that the file has actually been read into
memory.


> When a process reaches the memory limit size then the container will
> begin to swap.

Yes, that's what I saw in a quick test.


--
David Serrano

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to