Analyze memory usage of variables