Index: trunk/psphot/src/psphotStack.c
===================================================================
--- trunk/psphot/src/psphotStack.c	(revision 28960)
+++ trunk/psphot/src/psphotStack.c	(revision 31154)
@@ -2,4 +2,7 @@
 
 int main (int argc, char **argv) {
+
+    // uncomment to turn on memory dumps (move this to an option)
+    // psMemDumpSetState(true);
 
     psTimerStart ("complete");
@@ -12,4 +15,6 @@
 
     psphotVersionPrint();
+
+    psMemDump("start");
 
     // load input data (config and images (signal, noise, mask)
