-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory limit exceeded while preloading attribute options #16
Comments
@Nierjesh So your |
@quafzi in eav_attribute_option table there are 549645 records. |
@erfanimani ???.Is it not correct??? |
I'm not sure - it's interesting. Seems like php memory limit is set to 1GB, which is more than enough. It's a big table, but nothing it shouldn't be able to handle. Seems like all the attribute options are preoloaded to avoid a lot of SQL queries later on (I could be wrong). Seems like a good trade-off between processing vs memory, except in your (fairly extreme) case - I haven't come across any store with more than half a million eav attribute options before.. |
@erfanimani I have store which is having 10 Lacs+ products and in layered navigation it is taking around 10 sec without caching to load the page so when i googled then I found this but unfortunately it is not supporting .can u suggest anything??? |
Phew, that's a damn high number. What kind of shop is that? :) So what could you do:
|
@quafzi @erfanimani : I was thinking to use the sphinx to load the eav_attribute_option table data but how it will integrate with magento that I dont know.does this idea make sense??or I am going into wrong direction. |
I'm not sure.. Like Thomas said, I would probably disable this particular feature, and do the usual checks, make sure the whole store is optimized (no unnecessary What do you mean with 10 Lacs+ ? |
@erfanimani I am using Lesti FPC for all actions except layered navigation,I was trying to get the speed of less than 5 seconds in layered navigation without using Lesti FPC. |
Hi Quafzi
I just downloaded the code and update accordingly but now search stps working and generating following error." Allowed memory size of 1073741824 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/raptor_supplies/lib/Zend/Db/Statement/Pdo.php on line 290"
I am using Magento 1.9.1
I did some R&D and found that in "Table.php" under _preloadOptions($storeId) function $options = $collection->getData(); is not working.
Please suggest .Did I miss something???
The text was updated successfully, but these errors were encountered: