My current approach of "waiting for it to crash" by being out of memory, doesn't really seem like good engineering practice