Home
last modified time | relevance | path

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

/dokuwiki/inc/
H A Dinfoutils.php248 $mem = php_to_byte(ini_get('memory_limit'));
249 if ($mem) {
250 if ($mem === -1) {
252 } elseif ($mem < 16_777_216) {
253 msg('PHP is limited to less than 16MB RAM (' . filesize_h($mem) . ').
255 } elseif ($mem < 20_971_520) {
256 msg('PHP is limited to less than 20MB RAM (' . filesize_h($mem) . '),
258 } elseif ($mem < 33_554_432) {
259 msg('PHP is limited to less than 32MB RAM (' . filesize_h($mem) . '),
262 msg('More than 32MB RAM (' . filesize_h($mem) . ') available.', 1);
H A Dcommon.php1765 * @param int $mem Size of memory you want to allocate in bytes
1772 function is_mem_available($mem, $bytes = 1_048_576) argument
1788 if ($used + $mem > $limit) {