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

in Download Manager Free

Viewing 25 posts - 1 through 25 (of 26 total)
Jan 18, 2021 at 4:58 pm
#144757
Participant
Gérard Bonnet
OP

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

Jan 18, 2021 at 6:36 pm
#144765
Moderator
Nayeem Riddhi
Staff

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

Jan 18, 2021 at 9:00 pm
#144769
Participant
Gérard Bonnet
OP

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.

Jan 19, 2021 at 6:27 am
#144796
Moderator
Nayeem Riddhi
Staff

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

thanks

Jan 19, 2021 at 9:07 am
#144813
Participant
Gérard Bonnet
OP

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.

Jan 19, 2021 at 11:53 pm
#144871
Participant
Gérard Bonnet
OP

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 ?

Jan 20, 2021 at 6:48 am
#144894
Moderator
Nayeem Riddhi
Staff

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

Jan 20, 2021 at 8:45 am
#144903
Participant
Gérard Bonnet
OP

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

Jan 20, 2021 at 5:01 pm
#144944
Participant
Sinan Ünal

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 5 years, 1 month ago by Sinan Ünal.
Jan 20, 2021 at 5:57 pm
#144957
Moderator
Nayeem Riddhi
Staff

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

thanks

Jan 20, 2021 at 6:26 pm
#144958
Participant
Michele Tugnoli
This reply has been marked as private.
Jan 21, 2021 at 7:07 am
#144979
Participant
Michele Tugnoli

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.

Jan 21, 2021 at 8:20 am
#144982
Participant
Sinan Ünal

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!!

Jan 21, 2021 at 5:23 pm
#145013
Moderator
Nayeem Riddhi
Staff

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

thanks

Jan 21, 2021 at 5:34 pm
#145014
Keymaster
Shahjada
Staff

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

Jan 21, 2021 at 5:35 pm
#145015
Keymaster
Shahjada
Staff

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

Jan 21, 2021 at 6:18 pm
#145021
Participant
Sinan Ünal
This reply has been marked as private.
Jan 21, 2021 at 7:31 pm
#145023
Keymaster
Shahjada
Staff

Checking now.

Jan 21, 2021 at 7:34 pm
#145024
Keymaster
Shahjada
Staff

@stekmedia, may I try disabling other plugins temporarily?

Jan 21, 2021 at 7:49 pm
#145025
Participant
Sinan Ünal

yes you can disable them

Jan 21, 2021 at 8:02 pm
#145026
Participant
Sinan Ünal

@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?

Jan 21, 2021 at 8:04 pm
#145027
Keymaster
Shahjada
Staff

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.

Jan 21, 2021 at 8:45 pm
#145028
Participant
Sinan Ünal

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

Jan 22, 2021 at 9:32 am
#145047
Participant
Michele Tugnoli

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

Jan 22, 2021 at 9:36 am
#145048
Keymaster
Shahjada
Staff

@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.