diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index ffc02f09a98..1ed4b335ad1 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -348,7 +348,7 @@
- Returns the amount of static memory being used by the program in bytes.
+ Returns the amount of static memory being used by the program in bytes (only works in debug).