Fatal error: Out of memory – All tips found here tried

Viewing 25 posts - 1 through 25 (of 26 total)
#144757

Gérard Bonnet
Participant

Hi, I’m facing an oft-cited problem regarding fatal memory error caused by wp download manager, before post, logicaly i tried all solution i can found here but, i can’t really resolve this issue.

WP Download manager 3.1.12
Version WP 5.6
Limite de mémoire WP 1 Go
Version PHP 7.3.26 5.6+
PHP Limite de mémoire 1 Go
Poids Max Post PHP 256 Mo
Taille maximale de téléchargement PHP 256 Mo
Temps d’exécution max PHP (sec) 300
Version MySQL 5.7.30

The error :
Fatal error: Out of memory (allocated 672681984) (tried to allocate 60058008 bytes) in /xxxxxx/xx/xxxxxx/htdocs/asacso/wp-includes/wp-db.php on line 2056

Here : https://www.asacso.fr/services/bordeaux-aquitaine-classic-2021/

Best regards
Gérard

#144765

Nayeem Riddhi
Moderator

Have you followed these process, please check all of them,

1.Editing the wp-config.php file
2.Editing the php.ini file
3.Editing the .htaccess file

1.Editing the wp-config.php file

Here you will need to edit thewp-config.php file.
define( 'WP_MEMORY_LIMIT', '1024M' );

2.Editing the php.ini file

On a live install, the file can be accessed within the root of your install, that is within the /public_html/ folder. Note that the file is not installed by WordPress but in most cases set up by your host. If you are using CPanel as your control panel, for example, make sure the checkbox for “Show Hidden Files” is checked and then click Go. You may check into this article on how to go about editing the file. Before editing the file, kindly preserve a backup to it by downloading it to your computer.
Once this is done, open the file, add or edit the following line:

memory_limit 512M

3.Editing the .htaccess file

The .htaccess file is a file located within the root of your WordPress files.

You will need to add or edit the following code to the bottom of the file:

php_value memory_limit 256M

With this done, you can then save your changes and check if the error is resolved.

Thanks

#144769

Gérard Bonnet
Participant

Hi Nayeem,
thank you for your answer,

yes I have already tried these solutions before posting but that does not solve the problem, the error this product also on the administration of wp download manager I can not see the list of files / wp-admin /edit.php?post_type=wpdmpro out of memory each time it is also the case if I try to modify the page with elementor where the shortcodes are found.

#144796

Nayeem Riddhi
Moderator

please try with memory_limit 1024MB, some users get resolved the issue with this

thanks

#144813

Gérard Bonnet
Participant

on my side nothing to do, the limit of my server being 640MB for php, wp download manager would need 60MB additional to function which means that the load imposed by the plugin is considerable.

#144871

Gérard Bonnet
Participant

It’s very strange, i use on another website wp donwload manager and all is done with php memory limit 256 and wp limit 256, the problem appears on the site made with elementor, would there be an incompatibility in wp download manager and elementor ?

#144894

Nayeem Riddhi
Moderator

No There is no incompatibility between, download manager and elementor , there is also an elementor add-on we have, https://www.wpdownloadmanager.com/download/download-manager-addons-for-elementor/

thanks

#144903

Gérard Bonnet
Participant

Hello, i push the memory php to the limit at 768Mo this is the strongest shared server offering at ionos.

And there is better but always this error when editing a page containing the shortcodes wp download manager.

Fatal error: Out of memory (allocated 811429888) (tried to allocate 60047472 bytes) in /xxxxx/xx/xxxxxxx/htdocs/asacso/wp-includes/wp-db.php on line 2022
It’s crazy, he still wants 60MB more php memory.

I have never seen such memory consumption for a call to shortcodes, in addition I have two other websites which use wp domnload manager and which do not generate this error.

Several users have told you about the memory problem, you offered no other solution than to increase the capacity of the server when we face this problem, but all the same wp download manager obliges us to rent a dedicated server running just to run, while otherwise it runs on shared servers.

For wpdm elementor, when I activate this wpdm module I no longer access the elementor settings in the pages the loader remains in motion indefinitely …

Do you think there is a solution to find where this memory problem comes from ?

Nice day
Gérard

#144944

Sinan Ünal
Participant

I have the same issue on my side:

Fatal error: Out of memory (allocated 895725568) (tried to allocate 6008648 bytes) in …/wp-includes/wp-db.php on line 2056

I tryed all of your suggestions but nothing worked. This is very urgent because my customer gets mad at me at the moment. I need to fix this very urgent!!!

Additional info:
My wp_post_meta table in the wordpress database has reached the size of 1,4 GB because of the downloads, is this normal?

  • This reply was modified 4 years, 3 months ago by Sinan Ünal.
#144957

Nayeem Riddhi
Moderator

Same suggestion, many users got fixed for the issue, can you please try the procedure again from my instruction

thanks

#144958

Michele Tugnoli
Participant
This reply has been marked as private.
#144979

Michele Tugnoli
Participant

Participant
Hi all we have same problem: WP post meta size= 3 GB.
Error: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 60049368 bytes) in….We putted all memory settings to 2048MB but we still have the problem.
Please help us.

#144982

Sinan Ünal
Participant

Did you even read waht I have wrote? I said: I already have tested all of your suggestions and IT DID NOT WORK! I am working on this issue nearly since a week. I need an urgent fix for this problem now! I am using the downloads Manager PRO version since 4 years and did not have any problems. And now I have one and need SUPPORT!!

#145013

Nayeem Riddhi
Moderator

I shall inform you about this soon, sorry for your inconvenience

thanks

#145014

Shahjada
Keymaster

Hi, Anyone still having this issue, please send me temporary wp-admin login info in a private reply.

#145015

Shahjada
Keymaster

@michele-tugnoli, please give me temporary wp-admin login info in a private reply.

#145021

Sinan Ünal
Participant
This reply has been marked as private.
#145023

Shahjada
Keymaster

Checking now.

#145024

Shahjada
Keymaster

@stekmedia, may I try disabling other plugins temporarily?

#145025

Sinan Ünal
Participant

yes you can disable them

#145026

Sinan Ünal
Participant

@admin, My wp_post_meta table in the wordpress database has reached the size of 1,4 GB because of the downloads, is this normal?

#145027

Shahjada
Keymaster

The issue was not with wpdm pro, it is with your server’s memory cap, you tried to load 999 packages in a single page, and your server failed to allocate enough memory:
memory

It is working fine after I changed it to 20.

#145028

Sinan Ünal
Participant

Ohhhh my god You are a genius! Thank you soooo much!!

#145047

Michele Tugnoli
Participant

Hi, we have found a solution by removing all statistical data: the WP post meta has reduced from 3GB to 4MB and the site is back working.
We did it on Download Manager 5.2.6 and it allowed us to do it.
We made some test with the version of Download Manager in a staging site but didn’t work in the same way.
We saw that “privacy” tab has changed. If we update the plugin, we’ll have same problem?
Our site register about 200.000 download /year managed with Download Manager on 700 different users.

Thanks and regards

#145048

Shahjada
Keymaster

@michele-tugnoli,
WP post meta shouldn’t be a reason here if you are using the latest version of wpdm.

Viewing 25 posts - 1 through 25 (of 26 total)

The topic ‘Fatal error: Out of memory – All tips found here tried’ is closed to new replies.