diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp
index f2b34d537a6a701471ef90a3c462c2316ec20a22..330c9e4d9dc85969f61506781a42180c8e7f51ad 100644
--- a/indra/llcommon/llmemory.cpp
+++ b/indra/llcommon/llmemory.cpp
@@ -300,7 +300,7 @@ U64 LLMemory::getCurrentRSS()
 
 	// ru_maxrss (since Linux 2.6.32)
 	// This is the maximum resident set size used (in kilobytes).
-	return usage.ru_maxrss * sysconf(_SC_PAGESIZE);
+	return usage.ru_maxrss * 1024;
 }
 
 #else