The old forums either had no solution for this, OR said the issue was solved by switching to file caching, but that's not a real solution.
I think the cause was that eager loading was using all available RAM, and then dying when it ran out. By caching to a file instead of APC, RAM usage was reduced and the issue went away.
The other way to fix it is to keep using APC, but increase the amount of RAM available to your VM (I increased mine from 2GB to 4GB and the issue went away).
Turns out eager loading (or caching the eagerly-loaded) is a little RAM-hungry.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community