X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=mymemory.cc;h=8d95dfa68e2277f60f9cd4287ae62ec6499c780b;hb=4f614d5fb6b6e8060910f3d5db1e6d5e8611cffa;hp=d911f5d348c1f49132549f35c9a4e1b3a050d4c0;hpb=0174ae3f85cabaca148065bb9a83019dc5260e64;p=satcheck.git diff --git a/mymemory.cc b/mymemory.cc index d911f5d..8d95dfa 100644 --- a/mymemory.cc +++ b/mymemory.cc @@ -159,7 +159,7 @@ void model_free(void *ptr) /** Bootstrap allocation. Problem is that the dynamic linker calls require * calloc to work and calloc requires the dynamic linker to work. */ -#define BOOTSTRAPBYTES 4096 +#define BOOTSTRAPBYTES 131072 char bootstrapmemory[BOOTSTRAPBYTES]; size_t offset = 0; @@ -169,7 +169,7 @@ void * HandleEarlyAllocationRequest(size_t sz) sz = (sz + 7) & ~7; if (sz > (BOOTSTRAPBYTES-offset)) { - model_print("OUT OF BOOTSTRAP MEMORY\n"); + model_print("OUT OF BOOTSTRAP MEMORY. Increase the size of BOOTSTRAPBYTES in mymemory.cc\n"); exit(EXIT_FAILURE); }