Pref::maxMem
-- memory limit for
calculationPref::maxMem(
kbyte)
sets a memory limit
for calculations in kilobyte.
Pref::maxMem( <kbyte>)
kbyte |
- | integer in kilobyte, or NIL |
the last defined memory limit
Pref::maxTime
,
bytes
, MAXDEPTH
0
effects no limitation.Pref::maxMem
without arguments returns the
current value. The argument NIL
resets the default value,
which is 0
.The memory usage will be limited to a value above the
current memory usage, displayed by bytes
.
>> bytes()
507780, 717300, 2147483647
>> Pref::maxMem(1): [i] $ i = 1 .. 1000000:
Error: Watchdog reset [watchdog-memory]