memory_check.txt

Uploaded: 04 Jun, 2006
Previous uploads by this submitter: 0

Author: Darien

Downloads: 134

This snippet monitors your memory through a standard integer inserted into your memory allocation function, whether that be alloc_mem, or Create, it will monitor the overall amount of memory used, and when it gets too high, it will cause the mud to reboot. This will ensure that if you have a memory leak, that it doesn't cause your system to lock up.