Only profile when receiving signal.
diff --git a/heron/executor/src/python/heron_executor.py b/heron/executor/src/python/heron_executor.py
index 6403876..5ee1682 100755
--- a/heron/executor/src/python/heron_executor.py
+++ b/heron/executor/src/python/heron_executor.py
@@ -895,8 +895,8 @@
   # Refer to https://gperftools.github.io/gperftools/heapprofile.html
   # for details of settings of gperftools heap profiler
   shell_env["HEAPPROFILE"] = "stmgr.hprof"
-  shell_env["HEAP_PROFILE_ALLOCATION_INTERVAL"] = "2147483648"
-  shell_env["HEAP_PROFILE_INUSE_INTERVAL"] = "1073741824"
+  shell_env["HEAP_PROFILE_ALLOCATION_INTERVAL"] = "0"
+  shell_env["HEAP_PROFILE_INUSE_INTERVAL"] = "0"
   shell_env["HEAPPROFILESIGNAL"] = str(signal.SIGUSR1)