Hello,
We’re running into an issue with a 900MB file on our WPDM installation. When using the WPDM link to download the file, the file stops at 500MB and appears to have finished, even though the file is actually 900MB.
We’ve tried adjusting the Download Speed (currently 20480), Resumable Downloads, and Output Buffering settings but have not been able to resolve the issue. When disabling both the Output Buffering and Resumable Downloads options, the WPDM download link gives us an error:
[18-Aug-2020 19:41:26 UTC] PHP Fatal error: Out of memory (allocated 8388608) (tried to allocate 944402432 bytes) in /xxxx/xxxx/public_html/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 125
We have adjusted the server settings to increase the memory limit up to 6GB using both PHP INI settings and wp-config.php directives, but continue to receive the memory allocation error. We were also able to download the file successfully in the browser when placing it in another directory and accessing that URL directly. This leads us to believe there might be something specific to the WPDM plugin that is causing the issue.
Please let us know if there is anything we can do to resolve this issue.
Thanks
Hi,
You can see this article for this.https://www.wpdownloadmanager.com/how-to-increase-the-maximum-file-upload-size-in-wordpress-download-manager/ I hope it may help you.
Thanks.
Thanks for following up, but the issue I’m having is related to downloads, not uploads. We’ve successfully uploaded a 900MB file to WP Download Manager, but when we try and download the file through the WPDM download link, it stops when the file hits 500MB. The download doesn’t fail, but rather once the file hits 500MB downloaded, the total file size listed in the download bar jumps from 900MB to 500MB and the download thinks it has completed, even though ~50% of the file is missing.
Is there any other information you can provide?
I’m still running into this issue – can you provide any help?
Sorry for delay reply,
I think this is causing for PHP memory setting
Fixing the Error there are a couple of ways on how to go about resolving this error. These include:
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', '256M' );
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.
I am also facing the same issue even after doing after editing the things you said.
have you followed this instruction also, https://www.wpdownloadmanager.com/how-to-increase-the-maximum-file-upload-size-in-wordpress-download-manager/, let me know if it helps or not
thanks
no it doesnt help. after 1 GB the download cuts in midway. if anyone found a solution it will be very helpful.
Thanks
I have the same problem. My files is originally 600 MB and lots of our clients are angry that it is corrupted. The problem is that when they download it via WP Download Manager plugin, if browser starts the download, it will stop at exactly 500 MB. But if they start the download with IDM, it downloads the file intact. I tested it many times and it seems that WPDM only allows each connection to download up to 500 MB and since IDM breaks the download in 8 connection, it’s fine.
I played with every parameter in WPDM settings and nothing solved this problem.
And I’m sure that there is no problem with WordPress or server because I can download the file with browser from direct link.
I would be so thankful if you could give us a working solution.
Hi Ahmad Reza Jafari,
Can you please adjust Download Speed from the basic settins, you can also enable/disbale for checking Resumable Downloads and Output Buffering
thanks
I tried all three of these settings but non of them solved the issue.
Hello,
Sorry for the inconvenience, have you checked the PHP memory setting too, let me know
thanks
Hello again,
I set PHP memory to 1000M but it made no difference. Still stops at 500M.
Hai any update or luck on this issue after 500 MB it just cancels in midway it is very frustrating
yes i am using free version is there limit on free version?
This can be an issue with server problem too, can you please contact your host provider, please let me know if you get any resolution
thanks
no its not a server issue have checked without plugin and it works good. no issues in downloading even a 2 GB file.
please check, Resumable Downloads and Output Buffering option from basic settings of WPDM, by enabling or disabling those option you may get the resolution
thanks
Is there showing any network error after ending the download session?
no it doesnt shows anything it just says cancelled without even reducing the download speed.
please create a new topic and please, give your temporary wp-admin login details in a private reply for checking the issue.
Thanks
The topic ‘Large downloads ending early at 500MB’ is closed to new replies.