Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting Model with lots of relations exhausts memory. #127

Open
Xodus-CO opened this issue Feb 26, 2021 · 1 comment
Open

Deleting Model with lots of relations exhausts memory. #127

Xodus-CO opened this issue Feb 26, 2021 · 1 comment
Labels

Comments

@Xodus-CO
Copy link

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?

@maguilar92
Copy link
Collaborator

You are free to make a PR with the improvement. I'm not using package anymore and only I will review PR's.

@Yogarine Yogarine added the bug label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants