Recent Posts

Memory leaks even with WeakReferences

3 minute read

A crash report arrived at my desk the other day. The system crashed because it ran out of memory. And the major memory consumer was a WeakHashMap. Very inter...

Resolving circular dependencies in C++

4 minute read

I stumbled several times already upon situations where I created a circular dependency between two classes. A circular dependency is bad design in general.