diff --git a/NodeManager.cpp b/NodeManager.cpp
index 19515b22f49242d6c94888a9732985859a83e325..5ad37ec777b1167410a2759a9c25703b95ff40d0 100644
--- a/NodeManager.cpp
+++ b/NodeManager.cpp
@@ -4,6 +4,10 @@
 
 #include "NodeManager.h"
 
+void printFM() {
+  Serial.print (F("Free memory = "));
+  Serial.println (freeMemory ());
+}
 /***************************************
    PowerManager
 */
@@ -3503,6 +3507,7 @@ void NodeManager::presentation() {
 
 // setup NodeManager
 void NodeManager::setup() {
+  Serial.print(F("NodeManager::setup: ")); printFM();
   // retrieve and store isMetric from the controller
   if (_get_controller_config) _is_metric = getControllerConfig().isMetric;
   #if DEBUG == 1
@@ -3517,9 +3522,11 @@ void NodeManager::setup() {
   // run setup for all the registered sensors
   for (int i = 1; i <= MAX_SENSORS; i++) {
     if (_sensors[i] == 0) continue;
+    Serial.print(F("NodeManager::setup: Before sensor "));Serial.print(i);printFM();
     // call each sensor's setup()
     _sensors[i]->setup();
   }
+  Serial.print(F("NodeManager::setup: END"));printFM();
 }
 
 // run the main function for all the register sensors
diff --git a/NodeManager.h b/NodeManager.h
index 741830086a7b956140ba2b603ebd7eb1ef818f3b..321702b041f26d0183e1f3bb5caaa54123fcfe01 100644
--- a/NodeManager.h
+++ b/NodeManager.h
@@ -5,10 +5,13 @@
 #define NodeManager_h
 
 #include <Arduino.h>
+#include "MemoryFree.h"
 
 // define NodeManager version
 #define VERSION "1.7-dev"
 
+void printFM();
+
 /***********************************
    Constants
 */