|
|
|
|
|
by rtpg
1703 days ago
|
|
People say that "well if allocations fail all bets are off" but can't you pre-allocate memory for error handling? Like sit down, figure out all the things you'll want to do on an allocation failure, and once you have determined that you slice a little chunk of memory when you start your app (and maybe _that_ fails and you can't do anything). and when you hit a failure you do your think, then tear stuff down. |
|
Now that I see interactive programs taking a gigabyte and the system being ok, I guess we're in a different regime.