Re: Big Files support thread
1.5.7 Apache PHP 7.3.2
Display Logs
News Box Manager
Quick Updates
Clone a Template
Mod List
OPC
Sales Report
MagicThumb
Upon running, I get "PHP Fatal error: Allowed memory size of 33554432 bytes exhausted".....
Code:
[17-Jul-2020 15:23:13 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /******/big_files.php on line 14
[17-Jul-2020 15:23:13 UTC] Request URI: /******/index.php?cmd=big_files, IP address: 128.217.186.019
--> PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /******/big_files.php on line 14.
[17-Jul-2020 15:23:13 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /includes/classes/db/mysql/query_factory.php on line 510
[17-Jul-2020 15:23:13 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0
[17-Jul-2020 15:23:13 UTC] PHP Fatal error: Uncaught RuntimeException: Unknown: Cannot call session save handler in a recursive manner in [no active file]:0
Stack trace:
#0 {main}
thrown in [no active file] on line 0
Re: Big Files support thread
Check the Version link at the top right to see how much memory you have.
Re: Big Files support thread
Is this whereof you speak?
Attachment 19097
Re: Big Files support thread
Yes. 32M is quite low. Try 1024M.
Re: Big Files support thread
Hello!
I hit the "PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4304 bytes)" as well, on a 128M max size.
Is there a specific reason a script just browsing a filesystem for filenames/filesizes should use up so much space?
Is RecursiveIteratorIterator actually loading all the files in memory?
There's 1.4GB of images in my /images/ folder.
Julien
Re: Big Files support thread
Again, 128M is too low; increase your memory to 1024M.