There is no question that the entire variations management process needs to 
be reworked. I have a site where I can't even load the variations manager 
for specific items. I think it only works if you have relatively few 
options and relatively few items, because accessing the page loads objects 
for every possible combination of options into memory so that it can serve 
them up all at once to be used in the page's javascript. If this is the 
case, the memory used grows exponentially with the number of options and 
products available, which is a big no-no. NO! bad, Satchmo. It would 
probably be a good idea to load all the combinations in small batches and 
use ajax to load them on the page ... or something

If you want to work on fixing this, I would be interested in helping out! 
It has caused me a few problems in the past.


On Friday, 22 November 2013 06:55:23 UTC-5, Darren Hollenbeck wrote:
>
> I'm creating a very large number of variations, but this is just crazy...
>  
>
> Mem:   8061664k total,  7940996k used,   120668k free,      588k buffers
> Swap:  4128760k total,  1680360k used,  2448400k free,    14984k cached
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND       
>                                                                             
>          
> 28301 apache    20   0 8020m 7.1g 1244 D 13.6 91.9 259:21.53 httpd         
>                                                                             
>          
>
>
>
> As it is chugging through the variations, the memory usage of that httpd 
> process just builds up, and up...and up, until it goes into swap and then 
> eventually stops working. There also doesn't seem to be cleanup done 
> (although I'm not sure where the fault for that lies), as the memory used 
> stays in the RES column (not just the VIRT one) even after variation 
> creation completes. What I've been doing is creating in chunks and 
> restarting httpd to clear the memory reservation/usage between those chunks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/satchmo-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to