Hi,
I have a trouble to download very big file manage by joomdoc.
The size of theses files is between 90mo and 1.7go.
When I try to download this file from front or backend the web browser get an error like : ERR_FILE_NOT_FOUND) then if I go to the log of php, I can see :
PHP Fatal error: Allowed memory size of 134217728 bytes
exhausted (tried to allocate 88954881 bytes) in /var/www/html/joomla/administrator/components/com_joomdoc/libraries/
joomdoc/filesystem/filesystem.php on line 574
or
PHP Fatal error: Out of memory (allocated 1052770304) (trie
d to allocate 1048586241 bytes) in /var/www/html/joomla/administrator/components/com_joomdoc/libraries/joomdoc/files
ystem/filesystem.php on line 639
It seems that the trouble come from php config file :
I try two different setup :
1/
post_max_size = 2000M
upload_max_filesize = 2000M
memory_limit = 128MB
=> can't success to download 90mo+ file ...
2/
post_max_size = 2000M
upload_max_filesize = 2000M
memory_limit = -1
=> can't success to download 1go+ file ...
If I try to download the file using the complete http adress of the file, it works fine ...
Do you know if there is a php script in joomdoc that can cause this trouble ?
My config :
- Centos 6.3 64bit
- PHP Version 5.3.3
- Joomla 2.5.8
- Joomdoc 3.4.3 Pro Release Date 7/01/13
Thanks for your feedback.
Regards,
Mike