Function __global->disable_php_memory_limit

Definitions

sources/global2.php

  • Disable the PHP memory limit. Do not use this carelessly, use it if a screen is a bit fat or in an importer, don't use it assuming memory is infinite.Mar 2021: Actually we will still cap it, as nobody needs more than 512MB of RAM (for a PHP process) and bugs can crash a machine.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Preview

Code (PHP)

/**
 * Disable the PHP memory limit. Do not use this carelessly, use it if a screen is a bit fat or in an importer, don't use it assuming memory is infinite.Mar 2021: Actually we will still cap it, as nobody needs more than 512MB of RAM (for a PHP process) and bugs can crash a machine.
 *
 */

function disable_php_memory_limit()
 

sources/minikernel.php

  • Disable the PHP memory limit. Do not use this carelessly, use it if a screen is a bit fat or in an importer, don't use it assuming memory is infinite.This caps at 256MB in minikernel.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Preview

Code (PHP)

/**
 * Disable the PHP memory limit. Do not use this carelessly, use it if a screen is a bit fat or in an importer, don't use it assuming memory is infinite.This caps at 256MB in minikernel.
 *
 */

function disable_php_memory_limit()