MIAMEX 185: Get/Set MALLOCLIMIT

Added February 2016

xcall MIAMEX, MX_MALLOCLIMIT, op, limit

Parameters

op  (Num)  [in]

0 to get the limit and 1 to set it

buffer  (B,4 or F)  [out]

returns the current limit (op=0) or supplies the new limit (op=1). Units are bytes—not kilo-, mega-, or giga-bytes. Maximum practical limit is 2GB-1 (2147483647).

History

2016 February, A-Shell 6.2.1424:  Routine added to A-Shell