remove MEMORY_DEBUG macro and all uses
merge from subversion