SWI-Prolog Did You Know We need you to to keep SWI-Prolog sustainable Search Documentation:
Predicate heap_size/2