<p>You may need to up your php memory limit. Should be good through Host CP to do, or if locally, edit the php.ini file.</p>

<p>Also, craft will generally max out at 100 entries as default so adding .limit(null) to a request should also help...</p>

CC BY-SA 3.0
2014-10-01T10:17:21.720Z
Thought it may be something to do with that, will check it out.
hamishtaplin
CC BY-SA 3.0
2014-10-01T15:43:04.883Z
I also faced the same problem with a project I worked on about a month ago. It was slightly different in that I needed to list out assets, but I too was hitting my php memory limited after about 100 or so.
Increasing your memory limit should fix the issue, but I wonder if serving up that many requests on a page is necessarily a good thing? Food for thought!
Jamie Wade
CC BY-SA 3.0
2014-10-01T09:44:55.570Z
2014-10-01T09:44:55.570Z
Simon Clayson
<p>Other than increasing the amount of memory available to PHP like <a href="https://craftcms.stackexchange.com/a/2853/57">Simon</a> suggested, you can also lazy load the entries in batches using the <a href="http://buildwithcraft.com/docs/templating/craft.entries#limit" rel="nofollow noreferrer">limit</a> and <a href="http://buildwithcraft.com/docs/templating/craft.entries#offset" rel="nofollow noreferrer">offset</a> parameters.  This would help keep the memory consumption down.</p>

<p>The extra entries would be triggered via infinite scrolling or treeview, etc. depending on how you're displaying them on the front-end.</p>

CC BY-SA 3.0
2014-10-01T16:56:02.450Z
2014-10-01T16:56:02.450Z
2017-04-13T12:50:59.930Z
Brad Bell
<p>So I have a section with 900 entries and I tried to just list them all on the page but Craft seems to choke after about 200 and will just not render any of them. Although I probably don't need to output all 900 it would be good to know what the issue is here?</p>

CC BY-SA 3.0
2014-10-01T15:17:11.220Z
Is this for a Structure section?
Ben Parizek
CC BY-SA 3.0
2014-10-02T09:48:26.783Z
No, just a channel.
hamishtaplin
<entries>
Craft chokes on rendering large amounts of entries?
# Craft chokes on rendering large amounts of entries?

(Asked by: username_0 on 2014-10-01)

So I have a section with 900 entries and I tried to just list them all on the page but Craft seems to choke after about 200 and will just not render any of them. Although I probably don't need to output all 900 it would be good to know what the issue is here?

**Tags:** entries
> **Comments:**
> **username_1**: Is this for a Structure section?  
> **username_0**: No, just a channel.  

---

## 2 answers

### Answer by username_2 on 2014-10-01. Score: 2

You may need to up your php memory limit. Should be good through Host CP to do, or if locally, edit the php.ini file.

Also, craft will generally max out at 100 entries as default so adding .limit(null) to a request should also help...

> **Comments:**
> **username_0**: Thought it may be something to do with that, will check it out.  
> **username_3**: I also faced the same problem with a project I worked on about a month ago. It was slightly different in that I needed to list out assets, but I too was hitting my php memory limited after about 100 or so. Increasing your memory limit should fix the issue, but I wonder if serving up that many requests on a page is necessarily a good thing? Food for thought!  

---

### Answer by username_4 on 2014-10-01. Score: 1

Other than increasing the amount of memory available to PHP like [Simon](https://craftcms.stackexchange.com/a/2853/57) suggested, you can also lazy load the entries in batches using the [limit](http://buildwithcraft.com/docs/templating/craft.entries#limit) and [offset](http://buildwithcraft.com/docs/templating/craft.entries#offset) parameters. This would help keep the memory consumption down.

The extra entries would be triggered via infinite scrolling or treeview, etc. depending on how you're displaying them on the front-end.


---

