fix memory statistics.


git-svn-id: http://www.nlnetlabs.nl/svn/nsd/trunk@3882 a26ef69c-88ff-0310-839f-98b793d9c207