private function getIniMemoryLimit()
    {
        $iniMemLimit = ini_get('memory_limit');
        if (!is_numeric($iniMemLimit)) {
            $iniSuffix = strtoupper(substr($iniMemLimit, -1));
            $iniMemLimit = substr($iniMemLimit, 0, -1);
            $iniMultiplier = 1024; //K
            $iniMultiplier = $iniSuffix === 'M' ? $iniMultiplier * 1024 : $iniMultiplier * 1024 * 1024; //M || G
            $iniMemLimit *= $iniMultiplier;
        }
        return (int)$iniMemLimit;
    }