I am using links to videos stored on the local server. If the video file is larger than a certain size a PHP error is generated and the page fails to load. It looks like the server is trying to load the whole video file into memory to look up information held in the file. The max size that works is around 14MB. For now I've lowered the quality to get things to work, but I will be needing to have a video well over 100MB soon.
I can't store the videos on any other site due to privacy issues (and I can't give you access to the site for the same reasons).
Is there anything I can do to resolve the problem?
The line from the log file looks like this (with tweaks to the actual domain name):
[Mon Jan 24 10:30:22.751596 2022] [fcgid:warn] [pid 250780:tid 118010168788736] [client 86.3.154.110:43616] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 49975240 bytes) in /home/abcdef/mywebsite.com/wp-includes/class-requests.php on line 649, referer: https://mywebsite.com/community/group-forum/