DEV Community

Discussion on: 20 Fantastically Bad Predictions Made About Computing and Technology

Collapse
 
elmuerte profile image
Michiel Hendriks

We can afford that though, since memory has become so cheap that even a few MB more or less don't really matter to anyone anymore.

You forget that managing memory costs CPU time.

High memory usage is often paired with high number of dynamic (de)allocation. This causes memory fragmentation. De-fragmenting memory costs even more effort.

High dynamic (de)allocation is not bad. Or at least, not in the Java world. Just do not keep the data around for a long time.