Allowed memory size of 1073741824 bytes exhausted [RESOLVED]
When I try and edit a new member on my admin panel, it allows me to click the save button however as soon as I try and go to a different page on the admin pannel it gives me this error.
I've tried a google search but they recommend just increasing the memory size and I don't want to this.
5 Replies
That's 1 GB of memory which should be plenty. What are you rendering on those pages?
Really not much. This is my MemberResource
Had to send two and shrink cut all the imports out to get it under the discord character limit
but thats all thats being rendered
I think it might be because of an infinite loop to do with my linking table thats used to make the
My linking table links together a member and a group. I'll send the models aswell incase they are important to debug
Make sure you’re on the latest filament too. When laravel released v12.20 it created a recursion issue. But that’s been patched in latest filament version.
I doubt the issue is the relationships, but I also think your belongsToMany should be HasMany
excuse me sir, where the latest filament version?
is it v3.3.31 for stable version?
cause i've face related some problem
finally after a couple days i've found the solution, cause my laravel on v12.20 and my filament on v3.3.30, thanks @awcodes
Solution
Updating it to v3.3.31 fixed the issue. Thanks so much for the help