Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowed memory size of x bytes exhausted #15

Open
Ghostel opened this issue Jul 7, 2018 · 0 comments
Open

Allowed memory size of x bytes exhausted #15

Ghostel opened this issue Jul 7, 2018 · 0 comments

Comments

@Ghostel
Copy link

Ghostel commented Jul 7, 2018

At frist, thank you very much for your script. I was looking for something like that.

I received the following error message on and on:

PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 12565851 bytes) in /volume1/web/podio-backup-master/podio-php/lib/Podio.php on line 439

Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 12565851 bytes) in /volume1/web/podio-backup-master/podio-php/lib/Podio.php on line 439

I've tried everything for hours. I changed all the php.ini files i could find, installed different versions of php, restarted the server many times but nothing seemed to work.

The solution was editing your code, as you set the memory to 200M manually and therefore the value in the php.ini was overwritten. After changing line 31 to ini_set("memory_limit", "1024M"); everything worked.

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

No branches or pull requests

1 participant