Quick and hacky "persistence" for a reasonable memory usage