Trying to work out what is using so much memory!