lkml.org 
[lkml]   [1996]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: memory crash

    On Mon, 9 Dec 1996, sheldon newhouse wrote:

    >
    > Just for the hell of it, I decided to see what would happen if I
    > overloaded my system with cpu intensive programs which would cause the
    > system to run out of memory and swap. The system started thrashing, and
    > ultimately required a hard boot. I don't think this is healthy. Any user
    > could do this.
    >
    I don't think you have to go to all that trouble. The following code
    will hang my system AND a Sun witb SinOs 4.3

    main()
    {
    char x[2048];
    main();
    }

    Eventually the drive that contains the swap file will come on continuously
    and there is too little available CPU time to kill the task .....





    \
     
     \ /
      Last update: 2005-03-22 13:37    [W:0.020 / U:0.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site