I got this error when saving with a file on input. The file is uploaded but I got this in saving process.
Allowed memory size of 134217728 bytes exhausted (tried to allocate 94 bytes) in ...vendor/laravelbook/ardent/src/LaravelBook/Ardent/Ardent.php
The size of the file is just 24kb. And the code is just a typical eloquent fill. The process is the following:
Get the file from the input, moved to storage location and make an insert for its file path in the database. Update the file id of the target eloquent model.
I'm using:
"laravelbook/ardent": "v2.4.2"