Hello, thank you for this useful project.
With 3100 movies and above home stops showing movie list even with limited results per page.
I noticed in error_log entries such as the following:
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40 bytes) in /home/strombol/public_html/cat/lib/Database.class.php on line 40
protected function fillObject($obj, $row)
I am running php4dvd on a server with 32MB memory limit for php scripts.
How complicated would it be change that class so it would reduce significantly memory usage?
If anyone can issue an estimate I would allocate some budget to implement that modification.
This extended capability has been implemented. See https://sourceforge.net/projects/php4dvd/forums/forum/755194/topic/5504849
Try to increase the memory limit in php.ini to 128 mb if you can:
; Maximum amount of memory a script may consume (128MB)
memory_limit = 128M
Increasing the memory limit is not advisable if you expect to have more than a few concurrent users. I experienced "500 Internal server error" errors simultaneously to memory usage peaks.
With the modification implemented memory usage decreased significantly (about 16 times less memory for about 4000 movies).
If you are interested just let me know.