Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > MIAMEX

MX_MALLOCLIMIT

Scroll Prev Top Next More

Reviewed April 2024

xcall MIAMEX, MX_MALLOCLIMIT, op, limit

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

Parameters

op (Num)  [in]

0 to get the limit and 1 to set it

limit (Unsigned Int)  [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