Re: Large Ramdisk creation causes crashes

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

 



At 12:40 PM -0700 10/26/05, Brandon Ooi wrote:
>Hi Andy,
>
>Sorry that wasn't an exact transcript. I was actually doing...
>
>perl -e 'print 1 x 600000000' > /mnt/r0/file0
>
>which fills the drive and then stops. This seems to work as long as the
>total number of 1's I write to ram is less than 40% of total memory I
>have (regardless of how large the ramdisks are or how many I create).

Does this work?

    $ perl -e 'print 1 x 600*1000*1000' > /dev/null

How about something like this?

    $ perl -e 'for($i=0;i<10;++i) { print 1 x 60*1000*1000 }' > /mnt/r0/file0

I.E, is perl using all your memory and then not properly crashing?

Note that I don't know perl.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux