Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
3answers
630 views

Magento2 CE Memory limit has been reached when saving product

When changing settings in a product I get the message: Memory limit has been reached magento-2 Why is that and what causes this? Is it a problem in the version 2.0.9 I have running? Or is it because ...
0
votes
1answer
99 views

AvaTax exceeds memory limit

We began randomly seeing a memory limit issue when attempting to view cart or checkout on the frontend, or create an order in the backend. After reviewing the logs, I disabled AvaTax and the error ...
1
vote
1answer
288 views

Magento consuming a lot of memory on specific store view

I have a Magento store, with two store views, one for spanish language, and another one for english, so, I have this code: //setting spanish store view Mage::app()->getStore()->setId(8); $...
0
votes
1answer
102 views

How can I solve product attribute reindex error: “Allowed memory size of … bytes exhausted”?

When i try to reindex, I got error like this:
0
votes
1answer
616 views

Fatal error: Allowed memory size on php 5.6.3 [duplicate]

initially good, but some time suddenly appear a message Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 36 bytes) in D:\xampp\htdocs\celebescomputer\app\code\...
0
votes
1answer
198 views

Issue with memory setting up Magento 2.0

I'm trying to install Magento on my VPS (WHM/cPanel) but I get the following error. I've checked the memory and increased it to 512M but still no luck. Fatal error: Allowed memory size of 33554432 ...
0
votes
0answers
90 views

Magento memory Limit for admin report

I have a question while I were trying to get report (customer by number of order purchase) from magento admin, I got the memory limit error when tried to pull report for last 6 month and I selected "...
0
votes
1answer
2k views

What is the optimal setting for PHP's memory_limit for Magento 2

I am on a VPS box with a total RAM of 3GB. I have dozens of hosts running on it. I am trying to install Magento 2 on the box now. Magento 2.0.7 recommends PHP memory_limit = 1G My server is ...
2
votes
2answers
932 views

Avoiding memory exhaustion when updating product stock?

I need to process a product collection and update the stock quantity and status for each product. Currently I'm doing this: foreach($products AS $product) { $quantity = $productQuantities[$...
0
votes
1answer
118 views

Magento 1.7 + Apache + 2GB RAM super slow with new theme [closed]

We have a low traffic Magento 1.7 on a 2GB RAM VPS, and when we changed to a new theme (a SNS theme) the CPU to 100% usage almost all the time, even with very little traffic, and the site is almost ...
8
votes
3answers
23k views

Fatal error “Allowed memory size” while run setup:static-content:deploy

I am trying to setup Magento 2.0 (community) in a WAMP server and I am getting the error below all the time while I run the command for deploy the assets static due to symlink issues at Windows ...
0
votes
1answer
1k views

Magento running out of memory

Every time I am getting the following message: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 81 bytes) in /public_html/lib/Varien/Object.php on line 270 ...
25
votes
12answers
43k views

Magento 2 Allowed Memory exhausted error when compile code

I have error when i add module.. Please re-run Magento compile command so i run below command but also display error that below when run command from root, php magento setup:di:compile Compilation ...
16
votes
3answers
16k views

Magento2 System Requirements PHP Memory Limit

What are the system requirements of Magento 2 regarding PHP memory limit (Resource Limits: memory_limit)? I have problems to find these informations in the System Requirements despite the second ...
4
votes
1answer
134 views

High memory usage of parent categories collection

I have a function which collect products parent categories: function getParentCategories($catId, $catsList) { $category = Mage::getModel('catalog/category')->load($catId); ...
3
votes
2answers
5k views

Fatal error memory exhausted Zend Pdo

I am having an error with memory while browsing my site - my server has increased memory allocation to a large enough level (I think). Does anyone know why I'm getting these errors whilst browsing? ...
2
votes
2answers
4k views

No Inode space!; How to delete Magento sessions folder's contents?

Hopefully, someone can help me, A Magento website I'm managing keeps going down, I've determined it to be the fact that it has used up all of the Inode space on the server. The output to df -i is ...
1
vote
2answers
4k views

Fatal error: Allowed memory size of 1073741824 bytes exhausted

I've seen this error elsewhere, but the general consensus seems to be "Increase the allowed memory PHP has". Ours is already at 1GB, so I'd like to figure out (if possible) what's going wrong here. ...
0
votes
1answer
332 views

Magento record count memory size of 268435456 bytes exhausted error

I having a custom table with 5lakhs records, i am writing query and get count of row using $collection->getCount() method, but it throw an error Fatal error: Allowed memory size of 268435456 ...
0
votes
2answers
496 views

Caching problem?

Is this a caching problem? “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes) in /var/www/.../lib/Zend/Db/Select.php on line 744 Fatal error: Class 'Mage' not ...
2
votes
1answer
1k views

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried > to allocate 4194304 bytes)

When I run reindex all, I got this error Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194304 bytes) in /home/users/mydomain/www/lib/Varien/Simplexml/Element....
0
votes
1answer
91 views

How much need RAM of VPS for 1 store about 110 product pages and very low traffic?

I have 1 store with 110 products. Traffic is very low - max 40 visitors per day. Now i pay for a shared-hosting and all good, but reply of server is from 700 to 1200 ms. I want rent VPS, but dont ...
2
votes
1answer
689 views

Memory Exceeded in Inline.php

I had created some custom attributes in my 1.9.1 install (basically for item color and size). Well, I've noticed that upon trying to create a Configurable Product, I get this error: Fatal error: ...
0
votes
1answer
1k views

High Memory Usage?

We have use for magento 1.8. Initially site was working fine. But in couple of weeks, we faced the some problems. Suddenly website is down. Once its restart the server, the website is working. And ...
6
votes
3answers
8k views

Sample data for Magento 2 - PHP memory problem while installing from Composer

Recently I tried to install Magento 2 with sample data and failed. I added the proper package to the composer.json file and when I run composer update it always fails just before finishing downloading:...
1
vote
2answers
151 views

Correct cache for Magento and settings

I'm optimizing the Magento store we have and would like to hear your opinion on the subject. I have installed mod-pagespeed and now I want to add some aditional cache. I've found a lot of information ...
1
vote
1answer
395 views

Magento category page white screen- php memory limit

We have two websites sharing same catalog but different prices. Total catalog size is 10K. Site1 displays products/categories fine. However same category on site2 shows "white Screen of Death". After ...
6
votes
1answer
7k views

PHP Fatal error: Allowed memory size of on indexer.php action

Before reply please read scenario on Magento 1.8.X command php indexer.php --reindex all Product Attributes index was rebuilt successfully Product Prices index was rebuilt successfully Fatal error: ...
5
votes
2answers
5k views

Memory limit when uploading product image

I just setup a testing installation yesterday. I ran the server-check file and all was fine. Installation went smoothly. The image upload doesn't work in the Backend! After uploading any image, ...
3
votes
6answers
18k views

Adding a product in Magento “Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 139564 bytes)”

I'm new to Magento and I can see that it is a sophisticated system with a lot of depth, but I've come across many headaches since switching to it from OpenCart. The first and foremost is this error ...
2
votes
1answer
1k views

Memory error on catalog url index

I have tried this [shell]$ php -d memory_limit=2048M indexer.php --reindex catalog_url PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 523800 bytes) in lib/...
1
vote
1answer
731 views

Reaching memory limit when updating child product when parent is changed

Back again. I'm almost there with my observer to update "Manage Stock" on child items when the parent configurable item is changed, but I've run into a memory problem. First, I tried updating all ...
7
votes
5answers
3k views

Magento customer save memory leak

I'm trying to edit customer data in bulk (a couple of thousand records) and Magento keeps running out of available memory to run the script. After some testing with memory_get_usage() the culprit ...
3
votes
4answers
15k views

best magento htaccess for performance

we have installed several extensions and bits and pieces of code to optimize Magento htaccess. Now I see the code has gotte quite long and I am not sure this is all conflicting or supporting ... So ...