be aware: this was written by the infamous ulrich drepper.
4gb Limit und seine Auswirkungen auf Hardware und Betriebssysteme
This is a nice summary on memory mismanagement for C/C++ coders. It covers memory-leaks, double-frees, off-by-ones, unassigned pointers and other common mistakes.