Kathleen Ballard wrote:

> Dear List,
> First, thank you all for the advice with my admin_departments problems.  An
> upgrade on the server has taken care of the problem.
> 
> However, the quick order screen is still having problem.  Less than a
> quarter of the way through the ~2500 items, I am getting 2008--Client run
> out of memory errors.
> 
> Any ides on how I can start troubleshooting this?  The site is being hosted
> using virtual server software with "have 500mgs on this server plus 40
> simultaneous httpd processes to handle Multiple Domains and 12 MB of Virtual
> RAM".
> 
> I have been advised by the mysql list to look for memory leaks with php, but
> I confess I have no idea where to start here.
> 
> One solution would be to have the user page through the quick order screen
> by limiting the first query.
> 
> But I am more concerned that this is pointing to a more serious overall
> problem.
> 
> Kathleen

The quick order page outputs a lot of HTML.  I think it outputs a form 
for every item.  Naturally, trying to do this for 2500 items just 
doesn't work ;).  Hence, the good news is that there isn't a serious 
overall problem, the bad news is that you either have to rewrite 
(possibly using "limit", like you said) or not use the quick order 
screen.  If you come up with something really good for the quick order 
screen, please submit a patch ;)

Thanks,
-jj



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to