Hi. Please be more specific. What did the error say? What plugin did you update?
Thread Starter
ex501
(@ex501)
I updated folders extension.
Error says: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/sitename/public_html/wp-includes/compat.php on line 182
Thread Starter
ex501
(@ex501)
I solved problem by increasing memory in default-constants.php from 40MB to 512M but isn’t that too much for this plugin?! It won’t work even on 256M
Glad you got it fixed.
The memory required will depend on how large your file list is.
Thread Starter
ex501
(@ex501)
Hello,
Again my plugin broke and it doesn’t work.
Are you telling me that I need tons and tons of RAM to increase in order plugin to work?
Please be more specific. What has broke? What error are you seeing. How large is your file list? Be happy to help, but need info.
Thread Starter
ex501
(@ex501)
Error says: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /home/sitename/public_html/wp-includes/compat.php on line 182
I have a lot of files but they are not large…
It’s saying the max PHP memory of 268 MB was exhausted. Bump your max up further and you should be good for a while. Also, if you are on a shared hosting platform, consider upgrading to a VPS or dedicated server.
The size of the files matter much less than the quantity. The files are scanned into an array. As your list gets bigger, so does the array. At some point you will also be limited to the amount of data MySQL can store in an option value.
Soon there will be the ability to create more than one list. This should help keep resource requirements low, as only the relevant file list (array) will need to be loaded.
Thread Starter
ex501
(@ex501)
That’s very unlucky. My memory is already 1024 and I have more lists (folders).
Okay. Something is amiss. Please contact your host. They should be able to see where the problem is.