make GC happen when we have 1/4 of total memory free.
There was a problem of not having enough room to put 10% of the heap.
This commit is contained in:
parent
5c959aee93
commit
7f365f7377
2
H/Regs.h
2
H/Regs.h
@ -770,7 +770,7 @@ extern REGSTORE Yap_standard_regs;
|
|||||||
static inline UInt
|
static inline UInt
|
||||||
CalculateStackGap(void)
|
CalculateStackGap(void)
|
||||||
{
|
{
|
||||||
UInt gmin = (LCL0-H0)>>3;
|
UInt gmin = (LCL0-H0)>>2;
|
||||||
|
|
||||||
if (gmin < MinStackGap) gmin = MinStackGap;
|
if (gmin < MinStackGap) gmin = MinStackGap;
|
||||||
return gmin;
|
return gmin;
|
||||||
|
Reference in New Issue
Block a user