Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2006
    Posts
    1
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

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

  3. #3
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default 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.
    Last edited by econcepts; 14 Jun 2007 at 03:18 PM. Reason: spelling
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 

Similar Threads

  1. Replies: 61
    Last Post: 3 Jan 2017, 08:57 AM
  2. v151 XML-Sitemap Keeps failing Allowed memory size of bytes exhausted
    By kapsolas in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 9 Jun 2014, 09:56 PM
  3. Allowed memory size of 33554432 bytes exhausted
    By billt in forum General Questions
    Replies: 2
    Last Post: 15 Feb 2010, 12:19 AM
  4. HELP with payment module - Allowed memory size of 8388608 bytes exhausted
    By Nick_Sonick in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 20 Jun 2007, 04:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR