logoalt Hacker News

skaviyesterday at 10:14 PM2 repliesview on HN

seems not as great for consumer software in uncontrolled environments. static allocation means the application hordes memory that the OS should probably be able to provide to other processes. constant work probably leads to higher average power usage.


Replies

sarchertechtoday at 2:46 AM

In practice, writing programs this way tends to result in programs that use less memory not more.

vinyl7today at 3:41 AM

The OS writes unused memory pages to the swap file, so this is a non-issue. I can go allocate a TB of RAM on my 32gb system and windows will happily give it to me.