Skip to content
  • martinlanghoff's avatar
    17b39b6c
    lib/setup moodelib: Introducing moodle_request_shutdown() · 17b39b6c
    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.
    17b39b6c
    lib/setup moodelib: Introducing moodle_request_shutdown()
    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.
Loading