Skip to content
This repository was archived by the owner on Jul 25, 2019. It is now read-only.

Allowed memory size exhausted #11

Open
wazynski opened this issue Sep 15, 2016 · 2 comments
Open

Allowed memory size exhausted #11

wazynski opened this issue Sep 15, 2016 · 2 comments

Comments

@wazynski
Copy link

wazynski commented Sep 15, 2016

I am currently getting a allow memory size exhausted issue with the Uservoice Client.php

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 139706908648449 bytes) in /var/www/html/wp-content/themes/innovationhub_theme/releases/20160915100044/vendor/uservoice/uservoice/src/UserVoice/Client.php on line 65

This is line 65:
$result = $this->access_token->fetch($url, $body, $method, $this->default_headers);

The server is running Ubuntu 16.04 and has been upgraded to use PHP Version 7.0.8-0ubuntu0.16.04.2. All extensions are present and installed correct as far as I can see. Restarting apache just causes it to fail again. Any ideas?

Uservoice is version 0.0.9

@nicklaw5
Copy link

I am also experiencing this exact error.

Server: Ubuntu 16.04.3
PHP: 7.0.8
Framework: Symfony 3.1.6
UserVoice Api : 0.0.8

@wazynski Did you ever end up resolving this on your end?

@chizr
Copy link

chizr commented Dec 19, 2016

This appears to be an issue with the Opcache; you can try blacklisting the offending file(s).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants