You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering why my custom class extending Symfony's BinaryFileResponse did not call public function sendContent(): static and I found the reason and it's concerning.
The bundle reads the whole file into RAM and then sends it to the RR. The main issue is that you can not send bigger files/payloads than your max_memory_limit. I can not increase my limit to 30GB to send back huge archives, because I don't have that much RAM available.
Can something be done please?
The text was updated successfully, but these errors were encountered:
I was wondering why my custom class extending Symfony's
BinaryFileResponse
did not callpublic function sendContent(): static
and I found the reason and it's concerning.https://github.com/Baldinof/roadrunner-bundle/blob/2.x/src/RoadRunnerBridge/HttpFoundationWorker.php
The bundle reads the whole file into RAM and then sends it to the RR. The main issue is that you can not send bigger files/payloads than your
max_memory_limit
. I can not increase my limit to 30GB to send back huge archives, because I don't have that much RAM available.Can something be done please?
The text was updated successfully, but these errors were encountered: