If you look where that message is produced, you find in HTString.c: #ifdef SAVE_TIME_NOT_SPACE /* the following assumes that 0 as first arg to realloc works portably like malloc; if that isn't the case, change to use HTAlloc. - kw */ if (!fmt_ptr || fmt_len < need*NUM_WIDTH) if ((fmt_ptr = realloc(fmt_ptr, need*NUM_WIDTH)) == 0) { outofmem(__FILE__, "StrAllocVsprintf (fmt_ptr)"); So, try s/realloc/HTAlloc/ (the following two, only). Or make SAVE_TIME_NOT_SPACE undefined. Klaus