Forums / General Questions / Out of Memory

Out of Memory

Locked

Views: 1,481

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Jun 2008, 6:27 PM
#1
sweetemotions avatar

sweetemotions

Zen Follower

Join Date:
Apr 2008
Posts:
100
Plugin Contributions:
0

Out of Memory

Hi. When attempting to view a product on my site, I got this message:

5 Out of memory (Needed 1677708 bytes)
in:
[select p.products_id, p.products_model, p.products_price_sorter, pd.products_name, p.products_sort_order from products p, products_description pd, products_to_categories ptc where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id= '1' and p.products_id = ptc.products_id and ptc.categories_id = '4' order by pd.products_name]

Other products I viewed on my site worked fine. I recieved similiar messages yesterday as I was listing new products and when I tried to view the Customers list. It happens spuraticly.

Can anyone tell me what this may be?

Thanks

18 Jun 2008, 11:03 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Out of Memory

You may need to talk to your hosting company and ask them to increase the PHP memory limit setting on the server.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jun 2008, 6:39 PM
#3
sweetemotions avatar

sweetemotions

Zen Follower

Join Date:
Apr 2008
Posts:
100
Plugin Contributions:
0

Re: Out of Memory

Thanks for the reply DrByte. I did as you suggested and indeed that was the problem. They increased my PHP memory limit to 32M and it seemed to do the trick. :clap: