Is it true that in the before times, you'd have to manually deallocate memory?
But some of the fanciest programs, like the Bourne Shell, were even more automatic: they didn't have to manually manage each allocation either. You'd simply write right on the heap and have your SIGSEGV handler do a brk() every so often!
To free up memory on our systems, we bought new system and moved the old ones into a landfill.
Permanent storage was on stone tablets, but read/write times were REALLY LONG. Backups took a really long time, too. Restoring was pretty quick, because you would just put the last-known-good tablets into the machine.