Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Allowed memory size of 134217728 bytes exhausted (tried to allocate 94 bytes) in ..src/LaravelBook/Ardent/Ardent.php #191

@lukrizal

Description

@lukrizal

Hi all, 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:

  1. Get the file from the input, moved to storage location and make an insert for its file path in the database.
  2. Update the file id of the target eloquent model.

I'm using "laravelbook/ardent": "v2.4.2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions