• Johny Mattsson's avatar
    Tie in the EGC with the SDK's heap knowledge. (#2319) · 085f35da
    Johny Mattsson authored
    Added `node.egc.meminfo()` to expose LVM usage (to make the regular
    `node.egc.ON_MEM_LIMIT` option usable).
    
    Extended the `node.egc.ON_MEM_LIMIT` option to also take negative limits,
    in which case that's taken as a request to keep a certain amount of heap
    available for non-Lua use.
    085f35da
legc.h 469 Bytes