Skip to content

ERROR: Allowed memory size of xxx bytes exhausted (tried to allocate xxx bytes) (JsonRpc.php:346)

By Jasper Frumau

Had a Plesk Parallels error today. Could not download an archived directory

ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 236457984 bytes) (JsonRpc.php:346)

Seems a php file dealing with client and server side Json seemed to object to me using more than 256MB. Even when it was raised to 1GB it still did not work

Found one repo https://github.com/fguillot/JsonRPC which seemed to have related PHP JSON RPC stuff, but wasn’t certain the guys running the control panel were using this same package somewhere. It did not have the same exact file. Only seemingly related content, that was all.