Index: trunk/psphot/src/psphotStackReadout.c
===================================================================
--- trunk/psphot/src/psphotStackReadout.c	(revision 30624)
+++ trunk/psphot/src/psphotStackReadout.c	(revision 31154)
@@ -127,4 +127,6 @@
     }
 
+    psMemDump("sourcestats");
+
     // generate the objects (object unify the sources from the different images)
     // XXX this could just match the detections for the chisq image, and not bother measuring the
@@ -132,4 +134,6 @@
     psArray *objects = psphotMatchSources (config, view, STACK_SRC);
 
+    psMemDump("matchsources");
+
     if (!strcasecmp (breakPt, "TEST2")) {
 	psFree(objects);
@@ -143,4 +147,6 @@
         return psphotReadoutCleanup (config, view, STACK_SRC);
     }
+
+    psMemDump("sourcestats");
 
     // find blended neighbors of very saturated stars (detections->newSources)
@@ -211,4 +217,6 @@
     }
 
+    psMemDump("psfstats");
+
     psphotStackObjectsUnifyPosition (objects);
 
@@ -230,4 +238,6 @@
     }
 
+    psMemDump("extmeas");
+
     bool smoothAgain = true;
     for (int nMatchedPSF = 0; smoothAgain; nMatchedPSF++) {
@@ -250,4 +260,5 @@
 	// smooth to the next FWHM, or set 'smoothAgain' to false if no more 
 	psphotStackMatchPSFsNext(&smoothAgain, config, view, STACK_OUT, nMatchedPSF);
+	psMemDump("matched");
     }
 
@@ -264,5 +275,5 @@
 
     // drop the references to the image pixels held by each source
-    // psphotSourceFreePixels (config, view, STACK_OUT);
+    psphotSourceFreePixels (config, view, STACK_OUT);
     psphotSourceFreePixels (config, view, STACK_SRC);
 
