Custom Script Output to Logs: 166MB!

Maybe something like on this topic could help you.

Removing some configuration of .env file.