Shopify Liquid errors · Memory limits exceeded
Fix “Liquid error: Memory limits exceeded” on your Shopify store
Rendering the page used more Liquid memory than Shopify allows. The usual cause is a loop over a large collection or over all products, a nested render inside a loop, or a page-builder layout that renders many product cards at once.
Liquid error: Memory limits exceeded
Paste your version of the error
The file, line, and name in your error are turned into exact steps.
How to fix it in Shopify
- Find the section on that page that lists many items: a collection grid, a mega menu that loads product data, or a custom loop over collections.all.products or all_products.
- Add a limit to the loop, use pagination for long lists, and avoid looking up products inside a loop.
- If you cannot see a heavy loop, remove sections from the page one at a time in the theme editor until the error disappears, then fix the one that caused it.
- If many stores report it at the same time, it is a Shopify incident; it has happened before and cleared without theme changes.
Fix it without touching your live theme
Add Shop Buddy to Claude or ChatGPT and paste the error there. It finds the line in your actual theme, makes the fix on a private copy, shows you before-and-after screenshots, and publishes only when you tap. Roll back with one tap.
Get startedQuestions
- It started without any theme change.
- Either a collection grew past the point the page could handle, or Shopify had an incident. Check the community forum for the same day.