Home
last modified time | relevance | path

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

/dokuwiki/inc/
H A Dinfoutils.php255 $mem = php_to_byte(ini_get('memory_limit'));
256 if ($mem) {
257 if ($mem === -1) {
259 } elseif ($mem < 16_777_216) {
260 msg('PHP is limited to less than 16MB RAM (' . filesize_h($mem) . ').
262 } elseif ($mem < 20_971_520) {
263 msg('PHP is limited to less than 20MB RAM (' . filesize_h($mem) . '),
265 } elseif ($mem < 33_554_432) {
266 msg('PHP is limited to less than 32MB RAM (' . filesize_h($mem) . '),
269 msg('More than 32MB RAM (' . filesize_h($mem) . ') available.', 1);
H A Dcommon.php1723 * @param int $mem Size of memory you want to allocate in bytes
1730 function is_mem_available($mem, $bytes = 1_048_576) argument
1746 if ($used + $mem > $limit) {