public function memoryUsage()
    {
        if ($this->getMemoryLimit()) {
            $remaining = (memory_get_peak_usage() - memory_get_usage());

            $left = (memory_get_peak_usage() + $remaining);

            if ($left < memory_get_peak_usage(true)) {
                $translateError = $this->translate->translate(
                    'PHP Ran Out of Memory. Please Try Again',
                    'mp3'
                );

                $location = $this->serverUrl
                    ->get('url')
                    ->__invoke(
                        'mp3-search',
                        [
                            'flash' => $translateError
                        ]
                    );

                header('Location: ' . $location);

                exit;
            }
        }
    }