Out of memory on model save()

PHP throws me Allowed memory size of 536870912 bytes exhausted (tried to allocate 365815888 bytes) in /pos-backend-updater/vendor/symfony/debug/ExceptionHandler.php on line 276 when I try to save a model that contains the data of a ~ 9Mb file.

This happens to me when I use mysql as the database engine, I was previously using sqlite and I had no problem with it. I've already increased the memory limit of php with no effect. Any ideas? (I'm using lumen)

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us