# Pastebin rF4jgkrJ import __pypy__ import cffi ffi = cffi.FFI() ffi.cdef(""" void *malloc(size_t); void free(void *); """) lib = ffi.dlopen(None) while True: ffi.gc(lib.malloc(128), lib.free) __pypy__.add_memory_pressure(128)