if we have many embedded calls to nb_queue, make sure we don't allocate a lot of memory for each one.

This commit is contained in:
Vitor Santos Costa
2009-02-27 00:31:29 +00:00
parent 51875c627a
commit 48eaa975f2
5 changed files with 18 additions and 6 deletions

View File

@@ -1416,6 +1416,8 @@ Yap_InitWorkspace(int Heap, int Stack, int Trail, int max_table_size,
ActiveSignals = 0;
DoingUndefp = FALSE;
DelayArenaOverflows = 0;
ArenaOverflows = 0;
DepthArenas = 0;
DBErasedList = NULL;
DBErasedIList = NULL;
Yap_heap_regs->IntLUKeys = NULL;