Index: /branches/eam_branches/ipp-20110505/Ohana/src/libohana/include/ohana.h
===================================================================
--- /branches/eam_branches/ipp-20110505/Ohana/src/libohana/include/ohana.h	(revision 31592)
+++ /branches/eam_branches/ipp-20110505/Ohana/src/libohana/include/ohana.h	(revision 31593)
@@ -20,5 +20,5 @@
 
 // comment this out to avoid the internal Ohana memory management code
-# define OHANA_MEMORY
+// # define OHANA_MEMORY
 
 // XXX I was including these before, but RHL claims they are not needed
Index: /branches/eam_branches/ipp-20110505/Ohana/src/libohana/include/ohana_allocate.h
===================================================================
--- /branches/eam_branches/ipp-20110505/Ohana/src/libohana/include/ohana_allocate.h	(revision 31592)
+++ /branches/eam_branches/ipp-20110505/Ohana/src/libohana/include/ohana_allocate.h	(revision 31593)
@@ -15,6 +15,6 @@
 # ifdef OHANA_MEMORY
 
-void *ohana_malloc (const char *file, int line, const char *func, int Nelem, size_t esize);
-void *ohana_realloc (const char *file, int line, const char *func, void *in, int Nelem, size_t esize);
+void *ohana_malloc (const char *file, int line, const char *func, size_t Nelem, size_t esize);
+void *ohana_realloc (const char *file, int line, const char *func, void *in, size_t Nelem, size_t esize);
 void  ohana_free (const char *file, int line, const char *func, void *in);
 void  ohana_memdump_func (int mode);
Index: /branches/eam_branches/ipp-20110505/Ohana/src/libohana/src/ohana_allocate.c
===================================================================
--- /branches/eam_branches/ipp-20110505/Ohana/src/libohana/src/ohana_allocate.c	(revision 31592)
+++ /branches/eam_branches/ipp-20110505/Ohana/src/libohana/src/ohana_allocate.c	(revision 31593)
@@ -4,4 +4,6 @@
 # include <stdint.h>
 # include <pthread.h>
+
+# undef OHANA_MEMORY
 # include "ohana_allocate.h"
 
@@ -276,12 +278,16 @@
     Nbytes += thisBlock->size;
 
-    if (good) {
-      fprintf (stderr, "  %zd  %zd  %zd  GOOD  %s %d, func: %s\n", Ntotal, thisBlock->size, Nbytes, thisBlock->file, thisBlock->line, thisBlock->func);
-    } else {
-      fprintf (stderr, "  %zd  %zd  %zd  BAD   %s %d, func: %s\n", Ntotal, thisBlock->size, Nbytes, thisBlock->file, thisBlock->line, thisBlock->func);
+    if (Ntotal < 100) {
+      if (good) {
+	fprintf (stderr, "  %zd  %zd  %zd  GOOD  %s %d, func: %s\n", Ntotal, thisBlock->size, Nbytes, thisBlock->file, thisBlock->line, thisBlock->func);
+      } else {
+	fprintf (stderr, "  %zd  %zd  %zd  BAD   %s %d, func: %s\n", Ntotal, thisBlock->size, Nbytes, thisBlock->file, thisBlock->line, thisBlock->func);
+      }
     }
 
     thisBlock = thisBlock->prevBlock;
   }
+  fprintf (stderr, "%zd memory blocks allocated (%zd bytes total)\n", Ntotal, Nbytes);
+
   return;
 }
