daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Feb 11th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x = [0]
  2. while True: x.extend(x)
  3.    
  4. dummy = ' '*num_bytes_to_use_up
  5.    
  6. >>> open('/proc/meminfo').readlines()[1]
  7. 'MemFree:         1248940 kBn'
  8. >>> dummy = ' '*1000000000
  9. >>> open('/proc/meminfo').readlines()[1]
  10. 'MemFree:          271472 kBn'
  11. >>> del dummy
  12. >>> open('/proc/meminfo').readlines()[1]
  13. 'MemFree:         1243464 kBn'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top