-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: Allowed memory size of 134217728 bytes exhausted #56
Comments
FYI, see simogeo/Filemanager#510 |
Are you sure you are trying to download file, not folder? Btw what vervion of RFM you use? master or dev branch? |
I have fixed the error that happened upon folder downloading (my case) at the DEV branch. Your case still require details and investigation. |
@servocoder I'am trying to download a zip file, which contains several files in it. I don't know how many files in it |
Files downloading process shouldn't cause such type of error. |
Well, current my version is the previous master branch, commit 245d50c My platform is Linux, CentOS 6.8, PHP 5.6.6 LocalFilemanager.php on line 683: header('Content-Description: File Transfer');
header('Content-Type: ' . mime_content_type($current_path));
header('Content-Disposition: attachment; filename=' . $filename);
header('Content-Transfer-Encoding: binary');
header('Content-Length: ' . $this->get_real_filesize($current_path));
// handle caching
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
(Line 683) readfile($current_path);
$this->__log('file downloaded "' . $current_path . '"');
exit();
} |
Thanks for the details. I will try to reproduce it. BTW you could also do some stuff to help. If possible, test your issue at the DEV branch. So we can ensure that the problem exists (or solved) at the latest version. |
Check out the latest commit on DEV branch. The problem should be fixed. |
Well, I check the commit de5bbf7 and manually merge it to release versions (such as 1.0.5) and it is OK. The DEV branch fails to set up the main RichFileManager instance, perhaps there exists too many commits and includes additional bugs |
Glad to hear it works for you. You can face problems with DEV branch because of changes in the config files and other incompatible changes. It will be released as RichFilemenager v.2 |
I have a file of ~500MB already on my server. When I try to download it through RichFilemanager, it calls:
Well, my memory_limit of php is 128MB. Should I just need to increase it?
The text was updated successfully, but these errors were encountered: