MCPcopy Create free account
hub / github.com/NetHack/NetHack / adjustMemory

Function adjustMemory

outdated/sys/mac/mrecover.c:617–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617static void
618adjustMemory()
619{
620 Size grow;
621
622 memActivity = 0;
623
624 if (MaxMem(&grow) < pBytes->memWarning)
625 note(noErr, alidNote, "\pWarning: Memory is running low");
626
627 (void) ResrvMem((Size) FreeMem()); /* move all handles high */
628}
629
630/* show memory stats: FreeMem, MaxBlock, PurgeSpace, and StackSpace */
631static void

Callers 2

optionMemStatsFunction · 0.85
eventLoopFunction · 0.85

Calls 1

noteFunction · 0.85

Tested by

no test coverage detected