Low Alphabet causing site to run out of memory
My site runs out of memory when I attempt to filter the entries using Low Alphabet. I adjusted the memory to 250M and still have the problem. I do have a fairly complex template layout. What info do I need to send so you can investigate this issue?
Replies
dcboswel 29 Dec 2014 15:21
Some info I know I can give is I'm running EE 2.9.2 and I'm using Low Seg2Cat, Switchee and an older plugin called Delete on the page.
Low 29 Dec 2014 17:00
LA needs all the content of the field you're targeting. So if the field contains lots of data, or you have a lot of entries (or both), that could be problematic. Also, I'm afraid there's no other way round it; there are some things that need to be done in PHP (stripping out punctuation, handle diacritics and html entities, etc) which means you'd always need to get all entries from the DB in order to sort them. Again, if there's lots of data, that can cause a memory issue, but this doesn't happen quickly.
If you encounter the same issue in a near blank template, then that could point you to the right source.
dcboswel 29 Dec 2014 17:25
Can I email you the code I'm using in the template to see if you can determine if maybe I set something up incorrectly?
Basically I'm displaying client info like First Name, Last Name, Company, Address, City, State, Zip.
None of that should be heavy on data I wouldn't think.
Also I have a link where people can edit the entries or delete them.
I'm trying to set it up so that if segment 4 has a value (which would be a - z) then it displays the Low Alphabet Entries tag with the data for only those entries starting with the letter.
Thanks for your help!
Low 29 Dec 2014 17:29
Sure, I can take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.
Low 6 Jan 2015 14:35
v1.2.1 fixes this issue.