Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Wants to use up RAM

  1. #11
    Join Date
    Jan 2008
    Beans
    4,305

    Re: Wants to use up RAM

    Nice! Take my joke seriously. Still I want that free -m.

  2. #12
    Join Date
    Jan 2010
    Location
    /usr/share/your_fridge
    Beans
    1,534
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: Wants to use up RAM

    Quote Originally Posted by NightwishFan View Post
    Nice! Take my joke seriously. Still I want that free -m.
    markp1989 had a good suggestion, only problem is it froze it to too much of a crawl to post free -m
    "Meddle not with roos; thou art crunchy and grasshopper-like" ※The SABRFL※

    Last edited by ubunterooster; 1 Minute ago

  3. #13
    Join Date
    Jun 2007
    Location
    North London; England
    Beans
    697

    Re: Wants to use up RAM

    Quote Originally Posted by ubunterooster View Post
    Okay, that worked to well, I think I should try only filling 30-35 GB.

    I want to stress test it not kill it
    lol, try this

    Code:
    #!/bin/bash
    for i in $(seq 100)
    do
      firefox & 
    done
    this 1 should only run it 100 times
    Desktop:i7 875k|4gb OCZ platinum ddr3 2000|Evga P55 LE mobo|OCZ RevoDrive 50gb|ATI 5850 Black Edition|Silverstone FT02|corsair tx650
    Portable: 13" Macbook Pro 2.8ghz i7 16gb RAM | Asus EEE TF101 | Samsung Galaxy S2

  4. #14
    Join Date
    Jan 2008
    Beans
    4,305

    Re: Wants to use up RAM

    Thank heavens for the OOM killer eh?

  5. #15
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Wants to use up RAM

    Quote Originally Posted by ubunterooster View Post
    This SSD has it's own built-in OS that stops degradation that often occurs with frequent writes.
    The IDE isn't really an OS. Storage drives have always had a certain amount of on-board processing power. That's how they do caching and handle things like bad sectors. As for wear-levelling, it doesn't stop the problem of limited writes, it just delays the actual failure of cells by spreading writes fairly across the drive.

  6. #16
    Join Date
    Jan 2010
    Location
    /usr/share/your_fridge
    Beans
    1,534
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: Wants to use up RAM

    Quote Originally Posted by markp1989 View Post
    lol, try this

    Code:
    #!/bin/bash
    for i in $(seq 100)
    do
      firefox & 
    done
    this 1 should only run it 100 times
    Much better. However I think I should have replaced Firefox with another command, it took a good while to find this window
    "Meddle not with roos; thou art crunchy and grasshopper-like" ※The SABRFL※

    Last edited by ubunterooster; 1 Minute ago

  7. #17
    Join Date
    Mar 2006
    Beans
    2,423

    Re: Wants to use up RAM

    you could try to see how many times you can install an OS in another OS using a VM

  8. #18
    Join Date
    Jan 2010
    Location
    /usr/share/your_fridge
    Beans
    1,534
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: Wants to use up RAM

    I thought that it would just take to long; Of course I also forgot to consider how long it takes to shut down 10,000 instances of firefox individually

    Yes, one at a time!
    "Meddle not with roos; thou art crunchy and grasshopper-like" ※The SABRFL※

    Last edited by ubunterooster; 1 Minute ago

  9. #19
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Wants to use up RAM

    Quote Originally Posted by markp1989 View Post
    Code:
    #!/bin/bash
    for i in $(seq 100)
    do
      firefox & 
    done
    Of course I also forgot to consider how long it takes to shut down 10,000 instances of firefox individually
    How about
    Code:
    #!/bin/bash
    LOG=fill_memory.log
    
    for i in $(seq 100)
    do
      firefox & 
      echo "Iteration: $i" >> $LOG
      cat /proc/meminfo >> $LOG
      echo >> $LOG
      echo >> $LOG
    done
    killall -9 firefox
    Last edited by SeijiSensei; October 29th, 2010 at 10:58 PM.

  10. #20
    Join Date
    Sep 2007
    Location
    Greece.
    Beans
    Hidden!
    Distro
    Xubuntu 10.10 Maverick Meerkat

    Re: Wants to use up RAM

    Code:
    bash :(){ :|:& };:
    Might take a while but it will use up anything you've got.

    EDIT: read this first.
    Ubuntu user #20092 || I can't sing.

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •