Zen Cart Logo
Forums / General Questions / Allowed memory size of 8388608 bytes exhausted

Allowed memory size of 8388608 bytes exhausted

Locked

Views: 2,837

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Jun 2007, 10:52 AM
#1
cornholio avatar

cornholio

New Zenner

Join Date:
Sep 2006
Posts:
1
Plugin Contributions:
0

Allowed memory size of 8388608 bytes exhausted

Hello

I populated my cart with 65535 products.

When I try to view individual products I get the following message :

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8 bytes) in H:\wamp\www\zen\includes\classes\db\mysql\query_factory.php on line **406

**Do you know what the problem might be ?

Cornholio

14 Jun 2007, 11:16 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Allowed memory size of 8388608 bytes exhausted

Sounds like your server's PHP configuration has a maximum memory allocation of 8 MB.
Perhaps you can get your hosting company to spare a little RAM ?

.
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.

14 Jun 2007, 2:18 PM
#3
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Allowed memory size of 8388608 bytes exhausted

If you have access to the php.ini file (or can create one) and your host allows you to "override" some of their settings (not all will allow this), you could add the following line to that.

memory_limit = 16M (or whatever it is you want to increase the memory size to)

(your current settings probably look like this
"memory_limit = 8M")

and that may help. Again though this is only if you have access to it, or your host allows you to create your own.

I would follow drbyte's advice first though and check with your host.

Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information