Skip to content

Deleting Model with lots of relations exhausts memory. #127

Open
@Xodus-CO

Description

@Xodus-CO

Doing some testing with the softCascades and I delete a UserType Model with 9 relations. Some of those relations have 2-3 relations themselves, most have none. All relations/models have softDeletes added/enabled.

When I try deleting the vendor, it eventually dies out with Allocated memory exhausted. Currently its at 4GB, but there has to be a better/more efficient way? Or am wrong in thinking how this should work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions