Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > MIAMEX

MX_MALLOCLIMIT

Scroll Prev Top Next More

Added February 2016

xcall MIAMEX, MX_MALLOCLIMIT, op, limit

MX_MALLOCLIMIT (MIAMEX 185) provides a programmatic way to query and/or set the MALLOCLIMIT system parameter otherwise set in the miame.ini, which see for more details.

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