diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp
--- a/lldb/source/Commands/CommandObjectMemory.cpp
+++ b/lldb/source/Commands/CommandObjectMemory.cpp
@@ -1578,7 +1578,11 @@
       : CommandObjectParsed(interpreter, "memory history",
                             "Print recorded stack traces for "
                             "allocation/deallocation events "
-                            "associated with an address.",
+                            "associated with an address."
+                            "\n"
+                            "This command requires a memory history "
+                            "provider plugin to be present. For example, "
+                            "compile the debuggee with address sanitizer.",
                             nullptr,
                             eCommandRequiresTarget | eCommandRequiresProcess |
                                 eCommandProcessMustBePaused |