This is a discussion on What can happen if you forget to deallocate memory? within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by Cactus_Hugger Depends completely on the computer, OS, and what's in the system at the time. What if ...
For information on how to enable C++11 on your compiler, look here.
I have been running Linux on my computer with 2GB ram without any swap for quite a few months and no problems so far =).
No swap at all? Why?
I have a 1GB swap partition on mine and according to gkrellm it barely gets used but still, why not swap?
I used to have a swap partition, but I have never seen it used at all, so I thought I don't need it =). I have a ram usage monitor on my gnome desktop and I have never seen the ram usage go above 1GB (disk cache doesn't count), except when I run something I write that leaks memory like crazy =). It makes my partition table simpler.