Toy memory allocator