Memory Eating Test
A simple Python script that demonstrates Fech Space's guardrails to prevent scripts from occupying more than 256MB of memory, followed by halting the script.
Returns: Plain Text
Calling Method(s): ,
Coded in: Python
Utility Code:
print("eating...")
#Eats about a gigabyte of memory... well, attempts to.
x = bytearray(1024*1024*1000)
#If it occupies all of that memory successfully, then this will print. But it never will because of guardrails.
print("ate.")
Give Feedback
Community's Feedback on Utility
Utility Credits and Resources
no kredits here, bwai.