79317969

Date: 2024-12-30 15:34:55
Score: 3.5
Natty:
Report link

I'm not used to PHP but I think somewhere in 'read_file_guts.php' causes OOM. How about using stream to read file contents?

https://www.php.net/manual/en/function.file-get-contents.php

https://www.php.net/manual/en/function.stream-get-contents.php

In this way you can read big file by small chunks rather than whole into the memory I think.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Kwonkyu Park