32cccf144356140945a4c69a49c5407fd3ed1903
hiram
  Tue Oct 5 11:55:08 2010 -0700
identify source of alloc error
diff --git src/lib/memalloc.c src/lib/memalloc.c
index 8b85f46..cad563d 100644
--- src/lib/memalloc.c
+++ src/lib/memalloc.c
@@ -289,7 +289,7 @@
     char allocRequest[32];
     sprintLongWithCommas(maxAlloc, (long long)carefulMaxToAlloc);
     sprintLongWithCommas(allocRequest, (long long)newAlloced);
-    errAbort("Allocated too much memory - more than %s bytes (%s)",
+    errAbort("carefulAlloc: Allocated too much memory - more than %s bytes (%s)",
 	maxAlloc, allocRequest);
     }
 carefulAlloced = newAlloced;