-
martinlanghoff authored
Now Moodle will have a 'shutdown_function' function. Right now registered (and useful) only when running under apache + mod_php. This initial function checks whether memory usage in this process exceeded 10MiB or $CFG->apachemaxmem (int, in bytes). This is really useful to prevent using more RAM than we have.
martinlanghoff authoredNow Moodle will have a 'shutdown_function' function. Right now registered (and useful) only when running under apache + mod_php. This initial function checks whether memory usage in this process exceeded 10MiB or $CFG->apachemaxmem (int, in bytes). This is really useful to prevent using more RAM than we have.
Loading