Modify maximum ram usable when stdout is being used in preparation for temporary in-ram file during stdout and fix summary shown and 32 bit limits.

This commit is contained in:
Con Kolivas 2011-03-12 12:19:02 +11:00
parent 885c6b327f
commit 9444441d51
3 changed files with 18 additions and 11 deletions

View file

@ -1318,7 +1318,7 @@ fill_another:
if (!last_head)
s->eos = 1;
else if (s->uthread_no != s->unext_thread && !ucthread[s->uthread_no].busy &&
sinfo->ram_alloced < control->ramsize / 3)
sinfo->ram_alloced < control->maxram)
goto fill_another;
out:
lock_mutex(&output_lock);