Jump to content

PeteM

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by PeteM

  1. 17 hours ago, bsmither said:

    Ok.

    "allocated 33030144"

    This tells me that your PHP is only getting about 32MiB to operate. Whereas, the commands in the file above is suppose to give PHP 256MiB.

    In admin, PHP info, scroll to the "Core" table and look for the "memory_limit" values. The value in the middle column is 'local value' (set by a local PHP.INI file, web server .htaccess directives, or PHP statements), and right column is the 'master value' (set by PHP's primary PHP.INI configuration).

    If the Core table shows you have 32MiB in the 'local value' column, then, as I understand it, there is a way to disallow any local changes to certain master values - perhaps this is such a case.

    Generally, CubeCart can operate at that memory limit, but when trying to work with images, where they can get really huge when PHP's GD image library decompresses already large JPG files, memory will get exhausted.

    Using FTP or your hosting control panel's File Explorer, look at the filesizes of images in /images/source/. Try to not have any file larger than 50K.

    Thanks. With the ini-custom.inc.php I get:

    memory_limit Local Value 256m
    memory_limit Core Value 256m

    When I remove the ini-custom.inc.php I get:

    memory_limit Local Value 128m
    memory_limit Core Value 256m

    Looking at my images, they are between 18kb and 300kb. Do you think I should compress them?

    Incidentally, all the equivalent images in the cache folder are less than <50kb. What are the source images used for, are they used in the store or just the source for the conversion to the images in the cache folder? 

     

×
×
  • Create New...