diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index 5fa19ce9c6f4dc2b3123751dbebcecda321a9ccf..0fa027c9c30314302b82e475255e7d75949631a6 100644
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -884,8 +884,6 @@ void LLImageRaw::setDataAndSize(U8 *data, S32 width, S32 height, S8 components)
 
 	LLImageBase::setSize(width, height, components) ;
 	LLImageBase::setDataAndSize(data, width * height * components) ;
-	
-	sGlobalRawMemory += getDataSize();
 }
 
 bool LLImageRaw::resize(U16 width, U16 height, S8 components)