How much RAM do you have and how fast is your disk? At best, 1GiB of Ram read at 60MiB per second will take 16ish seconds. If you manage some compression and only take the parts of memory used in running programs, you'll speed things up. But almost-instantaneous will be IO bound by your disk.