Skip to content

Allowed memory size of x bytes exhausted #15

@Ghostel

Description

@Ghostel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions