Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

PHP memory error
(1 viewing) (1) Guest
Document management system (DMS) component for Joomla!

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: PHP memory error

PHP memory error 11 years, 8 months ago #37600

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
The topic has been locked.

Re: PHP memory error 11 years, 8 months ago #37675

Hi,

I already restart the Apache server and verify the PHP information in Joomla (memory_limite is set to -1) but no effect, still got the error ...

For the moment the biggest file I can download is a 524 mo file.

This is very strange to got this type of error : does the file size play an important role in Joomdoc php script ?

Thanks for your feedback.

Regards,

Mike
The topic has been locked.
  • Page:
  • 1
User Login Empty