src/includes/classes/Core/Utils/Memory.php
public function limit(string $limit = null): int
    {
        if (isset($limit) && $limit) {
            @ini_set('memory_limit', $limit);
        }
        return $this->c::abbrToBytes(ini_get('memory_limit'));
    }
public function limit(string $limit = null): int
    {
        if (isset($limit) && $limit) {
            @ini_set('memory_limit', $limit);
        }
        return $this->c::abbrToBytes(ini_get('memory_limit'));
    }
Get/set available memory.

@since 150424 Initial release.
@since 170824.30708 Returns `int` instead of `float`.

@param string|null $limit Size abbr.

@return int Current max memory, in bytes.