1 users online. Create an account or sign in to join them.Users
PHP Memory Limit Error
This is an open discussion with 26 replies, filed under Troubleshooting.
Search
It turns out — as it often does — that I was talking complete bullshit. The getToggleStates is only called once per page to populate the With Selected menu, not for every entry in the table. I thought it was weird that it would do otherwise! So ignore that comment about it being a potential Symphony bug.
So it seems that it was calling getToggleStates on the two SBLs that was enough to tip over the memory limit. 7000 rows is a lot, but not that much. Odd.
I could remove the fields from the view, but then wouldn't really have any visual reference to what each entry is for.
I'll just leave it as it is now (show 10 entries) as it doesn't really need to be manually added to as a section.
I have a better idea now of how things work! I agree with Nick though that we should look at how the caching is done so as to avoid repeating the same queries over and over again, but that's your forte, not mine, and I know you're very busy ;o)
From my perspective with my 'work' hat on (rather than 'enthusiast') it could really be looked into as I will be working with more and more vast data sets and forcing Symphony down my employers throats for it, I guess for now I need to just think more abstractly about it.
Thanks so much for jumping in straight away with ideas and solutions guys, I really appreciate it. If there were some kind of international beer delivery service, I'd be sending three pints out!
It turns out — as it often does — that I was talking complete bullshit.
You could talk shit at me all day about this stuff and I'd only understand 1% of it!
You could talk shit at me all day about this stuff and I'd only understand 1% of it!
Same here.
And let's not forget, it's mighty good shit.
Craig has often talked about an autocomplete-style field/extension, which is now more easy with the REST API extension.
In my opinion this should be the default behaviour of the SBL. Nils' Subsection Manager could be a great source of inspiration.
Create an account or sign in to comment.
From looking at the code, the
fetchToggleableFieldsis still called for fields that are not visible columns in the table, they just need to havecanTogglereturn true.