Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/inc/
H A Dinfoutils.php247 $mem = php_to_byte(ini_get('memory_limit'));
248 if ($mem) {
249 if ($mem === -1) {
251 } elseif ($mem < 16_777_216) {
252 msg('PHP is limited to less than 16MB RAM (' . filesize_h($mem) . ').
254 } elseif ($mem < 20_971_520) {
255 msg('PHP is limited to less than 20MB RAM (' . filesize_h($mem) . '),
257 } elseif ($mem < 33_554_432) {
258 msg('PHP is limited to less than 32MB RAM (' . filesize_h($mem) . '),
261 msg('More than 32MB RAM (' . filesize_h($mem) . ') available.', 1);
H A Dcommon.php1773 * @param int $mem Size of memory you want to allocate in bytes
1780 function is_mem_available($mem, $bytes = 1_048_576) argument
1796 if ($used + $mem > $limit) {