public static function getMemory($isPeak = true): string
    {
        if ($isPeak) {
            $memory = memory_get_peak_usage(false);
        } else {
            $memory = memory_get_usage(false);
        }

        return FS::format($memory);
    }
public static function getMemory($isPeak = true): string
    {
        if ($isPeak) {
            $memory = memory_get_peak_usage(false);
        } else {
            $memory = memory_get_usage(false);
        }

        return FS::format($memory);
    }
public static function getMemory ( $ isPeak = true ) : string { if ( $ isPeak ) { $ memory = memory_get_peak_usage ( false ) ; } else { $ memory = memory_get_usage ( false ) ; } return FS :: format ( $ memory ) ; }
Get usage memory

@param bool $isPeak
@return string
Get usage memory