Results 1 to 5 of 5
  1. #1

    Default Database Memory errors?

    Recently, I started getting "out of memory" messages on my website. It appears to be related specifically to the PHP database, not Zen Cart. These happen at random, not all of the time.

    Has anyone else experieneced this? Is so, how did you resolve the problem?
    European designed, safe, eco-friendly children's toys:
    Landbridge Toys

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Database Memory errors?

    Do you have more details of the actual error message?

    What is the "PHP Memory Limit" setting showing in Admin->Tools->Server Info?
    .

    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

    Default Re: Database Memory errors?

    Quote Originally Posted by DrByte View Post
    Do you have more details of the actual error message?

    What is the "PHP Memory Limit" setting showing in Admin->Tools->Server Info?

    Example of error message:
    5 Out of memory (Needed 2091136 bytes)
    in:
    [select distinct p.products_id, p.products_image, pd.products_name from (landbridge1_products p left join landbridge1_featured f on p.products_id = f.products_id left join landbridge1_products_description pd on p.products_id = pd.products_id ) where p.products_id = f.products_id and p.products_id = pd.products_id and p.products_status = 1 and f.status = 1 and pd.language_id = '1']


    In Server Info section
    memory_limit = 99M
    European designed, safe, eco-friendly children's toys:
    Landbridge Toys

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Database Memory errors?

    99M is already a pretty good setting. However, bumping that up to 120M might be good, if you have control over that.

    What version of Zen Cart are you using?
    What addons do you have installed?
    What version of PHP?
    .

    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.

  5. #5

    Default Re: Database Memory errors?

    Zen Cart: 1.3.7
    Addons: Image Handler
    PHP Version: 4.4.8

    I'll look into if I have the ability to increase the memory level.

    If you have any other suggestions, please let me know.

    Thanks
    European designed, safe, eco-friendly children's toys:
    Landbridge Toys

 

 

Similar Threads

  1. v139h PHP Out of memory errors
    By jgold723 in forum General Questions
    Replies: 14
    Last Post: 9 Jul 2014, 06:14 PM
  2. Optimizing database to avoid hitting memory limits?
    By laurelsstitchery in forum General Questions
    Replies: 5
    Last Post: 29 Dec 2012, 06:40 PM
  3. PHPBB database errors
    By hookah in forum General Questions
    Replies: 5
    Last Post: 4 Mar 2009, 07:39 PM
  4. Errors importing database
    By ckosloff in forum General Questions
    Replies: 12
    Last Post: 18 Jun 2007, 01:34 PM
  5. Getting database errors
    By stacy in forum General Questions
    Replies: 7
    Last Post: 23 Apr 2007, 10:13 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