Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Magento 1 running out of memory

Friends, I'm facing the bellow problem on our Magento Store( version 1.9.2.1). This is problably causing the constant 524 errors I am having since some time: error_log: ...Out of memory (allocated ...
0
votes
2answers
25 views

Memory exhaust when using custom module collection

I'm trying to create a custom module with the usual model, resourcemodel and collection. My problem is that whenever I try to use the collection, magento runs out of memory. The collection only has ...
0
votes
0answers
114 views

"Fatal Error: 'Out of memory' (allocated 202440704) (tried to allocate 20480 bytes) Magento 2.4.1

I'm using Magento version 2.4.1 hosted on AWS EC2 and using AWS ElastiCache for Redis (5.0.6) to store session bin/magento --version Magento CLI 2.4.1 We previously encountered issue with memory limit ...
0
votes
0answers
20 views

Memory leak when using OrderItemCollection

I'm trying to execute some backend logic via ajax that requires using the Magento\Sales\Model\ResourceModel\Order\Item\CollectionFactory collection factory. When I use ->getColumnValues('<some ...
0
votes
0answers
42 views

Upgraded to 2.4.1 now “out of Memory” on admin Order Grid

I upgraded to 2.4.1 from 2.3.6 and now cannot load the admin orders grid Everything else seems OK, including things that are far more memory intensive, as far as I know, than the orders grid. ...
0
votes
0answers
173 views

main.WARNING: Memory size allocated for the temporary table is more > than 20% of innodb_buffer_pool_size. Strange values

I'm receiving the following alert from Magento2: main.WARNING: Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. Please update innodb_buffer_pool_size or ...
0
votes
1answer
255 views

Ram memory issue on Magento 2.3.4 website

I have a Magento 2.3.4 website on my server in Production mode. When I check memory usage with "top" command, I got a very high memory usage like this: There are so many php-fpm processes ...
0
votes
1answer
271 views

Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 262144 bytes)

Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 262144 bytes) in C:\XAMPP\htdocs\magento4\vendor\magento\module-store\Model\Config\Placeholder.php on line 146 Hi when ...
0
votes
1answer
49 views

Magento 2.3 - Theme Configuration mismatch after migration completed from magento 1.9 multi store website?

After migration, my multi-store website to Magento 2.3.4 Back-end working good all data migrated successfully my theme completely collapsed getting following error, Following are my errors after ...
0
votes
0answers
99 views

High RAM/MEMORY usage slows down website drastically (issue)!

We have a Magento 1.9 webshop with 10000 SKUs. Only 600 are in stock, and Magento is set not to show products that are out of stock. So only 600 products are displayed on the web site. We have 20-30 ...
0
votes
0answers
136 views

Unstable memory/mysql usage on 2.3.3, can't find the issue

This is regarding a Magento 2.3.3 running on Digital Ocean's server 4GB memory droplet, which should be plenty as it is the only thing hosted on there. However, I have observed since upgrade to 2.3.3 ...
0
votes
1answer
107 views

Allowed memory size of 2097152 bytes exhausted (tried to allocate 8192 bytes) i

I am getting error while running the cli commands, I increased the memory_limit to 5G
1
vote
4answers
2k views

Magento2 : How To Solve Out Of Memory Limit Error While Using Composer Update Command [duplicate]

I got out of memory error while run "composer update" command, I already check memory_limit and that is 2048 M than also I am getting above error . Does anyone know how can I solve this problem ?
1
vote
3answers
730 views

PHP memory limit, Magento 2.3.1

Magento 2.3.1 / Windows 10 / WAMP64 Start Magento Admin / System Upgrade ERROR: "PHP Settings Check Your current PHP memory limit is 2G. Magento 2 requires it to be set to 756M or more. As a ...
1
vote
2answers
465 views

Memory Limit difference between PHPINFO and Readiness Check!

when I execute phpinfo() it says 2000M, but when i run Readiness Check it give me 128M... what I have to do? I don't understand where it takes this value, is there any way to skip this check? I tried ...
1
vote
3answers
2k views

Magento 2: Ram memory issue

I have Magento2 website on production mode. And i have 8gb ubuntu 16.04 server. But i have checked ram memory uses 99% so my website is working slow. Please any one tell me why used my memory 99%? ...
2
votes
1answer
128 views

Out of memory when compiling Magento 2 - increasing memory doesn't work

When compiling Magento 2, I'm getting the error: Fatal error: Out of memory (allocated 294125568) (tried to allocate 32 bytes) in /vendor/zendframework/zend-code/src/Scanner/FileScanner.php on ...
2
votes
0answers
27 views

Emergency - our site down for 2 days. Ready to deploy on a new server but missing custom options; any way to put same custom options on all products?

Magento 1.9.4 Our old Magento store (1.9.1) hosted at Hostforweb just stopped working (long story - first it was extremely slow = unusable; then the hosting company says they can move it to another ...
3
votes
1answer
119 views

Memory limit set to -1 is the good approach?

In one of my custom script a memory exhaust issue showing.so i did set memory_limit to -1 now it is working fine.But is this the good approach to do this or need to increase the size of memory_limit ...
1
vote
1answer
1k views

Magento 2 Customer Grid index is locked by another reindex process. Skipping

I am importing Customer Main file details, I imported 30,000 records and about to reindexing ended up with reindexing issue. On the first reindexing I got the following error: PHP Fatal error: ...
0
votes
1answer
270 views

What are the preferred server resources needed to run a magento 2 ecommerce site? php memory limit, virtual and physical memory? ,

When updating magento to 2.3, warning was given to set php memory to a minimum of 2048. Wondering what the preferred settings/resources are and if hosting on a shared server is fine.
0
votes
1answer
48 views

Memory issues when upgrading from 2.2.6 to 2.3

I am trying to upgrade from 2.2.6 to 2.3, but the updater doens't even start. I get this message in the log: PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 ...
0
votes
1answer
18 views

Magento sees wrong allocated memory

I am trying to update Magento 2.2.5 to 2.3 using the System Upgrade tool. The readiness check gives an error saying that php memory limit is set to 128M. In reality we have 2G set on server. Check ....
0
votes
0answers
96 views

Magento white screen

One of my pages suddenly became white screen as I was working on the code. It was working perfectly and it won't go back to normal even when I revert the change. Every other page is working fine,the ...
0
votes
1answer
44 views

How to get memory_limit to be recognized by Magento when doing readiness test

I have had a terrible time getting extensions installed due to a readiness check. Magento fails to recognize that I have changed the php memory_limit figure. This post applies but doesn't work. It ...
1
vote
0answers
145 views

php Out of Memory error when refreshing report statistics

I have recently upgraded from Magento CE 1.9.2 to 1.9.3.10. Since this we get the following error when Reports>Refresh Statistics is used: Fatal error: Out of memory (allocated 1808531456) (tried ...
0
votes
3answers
802 views

How to prevent memory consumption during collection enumeration?

In the following script: $pageSize = 1000; $productCollection = Mage::getModel('catalog/product') ->getCollection() ->addWebsiteFilter($website->getId()) ->...
2
votes
0answers
233 views

Magento 1.9: Maximum execution timeout after login

Description: After a customer logs into my shop, the script receives a stack overflow, execution timeout or exhausted memory size. But only at one store view (en_GB). I guess it's a loop. I have only ...
2
votes
1answer
1k views

Magento 2 run setup:di:compile command on a shared hosting with limited memory_limit (max 512M)

I am trying to execute php bin/magento setup:di:compile after enabling a custom module created on my Magento2 store. However, I am using a shared hosting which allows me to set memory_limit upto 512 ...
0
votes
0answers
121 views

Magento 2.2.5: _init() return error “ Allowed memory size of 792723456 bytes exhausted”

I'm doing "Banner Slider", and I'm following module-catalog/category. So when i trying to copy this file: C:\xampp\htdocs\magento\vendor\magento\module-catalog\Model\ResourceModel\Product\...
0
votes
4answers
2k views

Increase php memory_limit using Magento 2 index.php

I added the line ini_set('memory_limit', '2048M'); into the pub/index.php and reloaded the Nginx config, however, the memory_limit didn't change. I created a phpinfo.php and the memory_limit1 is ...
2
votes
2answers
185 views

Magento Memory issue for installing extensions

I am really stuck at the moment. I keep getting the following error: "Your current PHP memory limit is 512M. Magento 2 requires it to be set to 756M or more. As a user with root privileges, edit ...
0
votes
3answers
2k views

setup-cron.ERROR: real memory limit 756M but 512M in log

I am on a shared platform and cannot change php.ini . However, the hosting platform allows me to set the memory_limit for php, which I have done - 756M. phpinfo() returns both master and local ...
0
votes
1answer
166 views

Magento 2 memory size needed for process

I am using Magento 2.2. I need to know the suitable RAM Size needed to run my Magento system.
0
votes
1answer
39 views

PHP memory limit issues repeats after the updating to a bigger size

I have updated the memory limits to 1024M in the php.ini file in the root directory however while installing the extension, am still getting the error stating to update the memory to 756M or above. ...
0
votes
0answers
15 views

Free memory on server only goes down until it runs out

When I visit my website the free memory on my sever goes down. Of course this is supposed to happen. Then I refresh the page and check the free memory again. It goes further down. If I refresh the ...
1
vote
1answer
2k views

PHP memory limit, Magento 2.3

Trying to fix the PHP memory limit issue when installing an extension. I made all the possible configurations, I do not have access to an SSH but everything seems to have correct values, I made the ...
0
votes
2answers
1k views

Can't upgrade to 2.2.3 from 2.2.2. Memory limit reached

I'm trying to upgrade my Magento installation but experiencing problems with the process: I was trying to update my site to the latest release as advised and I did so via the command line but I ran ...
0
votes
1answer
3k views

Fatal error: Allowed memory size of 805306368 bytes exhausted

I installed Magento on WAMP Server and I have PHP Fatal error: Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 262144 bytes) I tried to increase memory_limit to 1G ...
1
vote
1answer
17 views

Trying to make certain category names dynamic results in 100% server memory usage

My custom module has certain categories that are linked to certain customers and should return that customer's company name instead of the category name, I have written a plugin like this: public ...
1
vote
4answers
1k views

How to run deploy command while memory exhausted and we can't able to increase server memory limit?

Sever memory exhausted while run content deploy command and sever memory can't be increase then how to run content deploy command?
3
votes
0answers
578 views

Magento 2 Optimize memory leak perfomance

I have a problem with the import data process. First: I have used the factory creator to create a Model set data and save but the problem when I have 400k Item to save. --- Constructor \Magento\...
0
votes
0answers
127 views

Magento 2 website is not running in local after moving from host. System getting hanged when running the website

We are using Magento 2 for our website. We have used Bluehost with 2GB RAM, 5TB Memory. Bluehost called me yesterday to change the server because of the huge bandwith. We have currently 1000 products ...
2
votes
0answers
388 views

Magento 2 Cart Memory Exhaustion issue, with customer

Running Magento 2.1.10 CE, with multiple stores. Client requires login to access the site Running into an issue where one of the client is having a problem with cart. They have added 53 products in ...
0
votes
1answer
2k views

Session files going over 17GB [duplicate]

Got warning from server regarding Disk space getting full. After checking into file manager I found 17.2 GB of file size in session folder. When looked into var/session folder, I can see unusual ...
1
vote
0answers
609 views

Memory limit issue on Magento 2.2 EE

I have installed an instance of Magento Commerce 2.2 on a server with Digital Ocean ensuring stack requirements are met and have been experiencing regular PHP Fatal Error Out of Memory Issues, and ...
1
vote
3answers
102 views

Error Memory Size in Yireo Email Tester

/lib/Zend/Db/Statement/Pdo.php Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 95 bytes) in /lib/Zend/Db/Statement/Pdo.php on line 291 How do I fix this issue, ...
0
votes
1answer
697 views

Use of __desctruct() in classes to free memory

I have a suspected memory leak - I am reading from and writing to files within one class - perhaps the data isn't being released - not sure I need to run some tests. However, I am looking into using ...
0
votes
1answer
1k views

Allowed memory size exhausted on category save Magento 2

I'm trying to to enable the "Anchor" flag on a category with about 1400 products. When I click save, the page loads for a very long time (about 45 minutes) and finally gives me an internal server ...
1
vote
1answer
2k views

Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 12288 bytes)

I'm getting the next error after docker-compose up. Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 12288 bytes) in /var/www/html/vendor/zendframework/zend-...