Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

magento command failing, getting "killed"

am using these commands but keep getting this at the end that it got killed php -d memory_limit=2G bin/magento setup:static-content:deploy php -d memory_limit=2G bin/magento setup:di:compile is 4G ...
mzed's user avatar
  • 1
2 votes
0 answers
64 views

How to stop huge memory consumption when iterating over large amount of orders?

I created a console command to create invoices and shipments for a certain set of orders. The total amount of all affected orders is about 79000. When I execute the command memory consumption is going ...
Daniel's user avatar
  • 2,199
1 vote
2 answers
45 views

Is our hosting provider lying to me?

Magento 2.4.2-p1 Porto theme Amasty extensions I have a VPS Cloud4 account ($140/month) with the following specifications: 6 x 2.50 GHz Cores 16 GB ECC RAM 320 GB SSD Space 8 TB Bandwidth cPanel/WHM/...
Allysin's user avatar
  • 178
0 votes
0 answers
345 views

Magento 2.4.3p1 - Redis keeps growing

So, we went live with a new m2 shop last week. It all worked well in our develop environment. Since we dockerized the m2 installation, I wasnt expecting much trouble. But our redis cache keeps growing ...
Mario's user avatar
  • 453
0 votes
2 answers
323 views

Memory size exhausted when trying to update Magento 2.3.0 to 2.3.1 through putty

I'm trying to update my Magento 2.3.0 installation to Magento 2.3.1. I'm trying to do this through putty, but when I try to do "composer update" I get this error: - magento/inventory-...
alexcr's user avatar
  • 1,467
0 votes
1 answer
123 views

Memory exhausted in NoSuchEntityException.php on line 50

I have recently imported customers in Magento 2.3.2 - when logging in as a customer I'm receiving a: Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 20480 bytes) in /...
AlbotAA's user avatar
0 votes
3 answers
143 views

Composer memory size fatal error

I keep getting this error every time i run anything related to composer (install, update, require, etc.) Ive tried almost every website or solution I could find to no avail. Can anyone tell me how to ...
Zyzzx's user avatar
  • 81
1 vote
2 answers
355 views

Allowed memory size exhausted in module-aws-s3/Driver/AwsS3Factory.php on line 46

While Running cache:flush command I am Facing strange error like this, Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 20480 bytes) in public_html/vendor/magento/...
Jantar Mantar's user avatar
0 votes
1 answer
934 views

Elastic Search stops automatically in Server

Home page, Product detail pages are working on My store. But Product catalog page is not working. Getting message "Out of Memory : Killed Process" message on Server Console root@lamp-ubuntu-...
Thanjeys's user avatar
0 votes
1 answer
575 views

get magento to use Composer 2

I'm actually having this issue but first I want to resolve why it's still looking at Composer 1. me@server:/.../magentoproject$ sudo ./bin/magento sampledata:deploy [sudo] password for me: <warning&...
John E's user avatar
  • 103
0 votes
2 answers
309 views

Is my hosting company lying to me about RAM requirements for Magento 2/ElasticSearch?

Magento 2.4.2-p1 I recently tried to install and run a URL rewrite extension and got Errors regarding ElasticSearch. I've just tried to run the upgrade command after uploading the Magento Porto theme ...
Allysin's user avatar
  • 178
0 votes
2 answers
125 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 ...
Gautier Bardon's user avatar
1 vote
0 answers
57 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 ...
Badong's user avatar
  • 91
0 votes
0 answers
124 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. ...
iphigenie's user avatar
  • 1,679
0 votes
1 answer
792 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 ...
Jack Pepper's user avatar
1 vote
1 answer
1k 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 ...
Farickmed Then Mejia's user avatar
0 votes
1 answer
93 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 ...
zus's user avatar
  • 155
0 votes
0 answers
264 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 ...
user15151's user avatar
  • 581
0 votes
0 answers
280 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 ...
Jerry's user avatar
  • 19
0 votes
1 answer
288 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
vinaysirige's user avatar
4 votes
4 answers
5k 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 ?
Sanjay Shiyal's user avatar
1 vote
3 answers
1k 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 ...
Georgi's user avatar
  • 21
1 vote
2 answers
782 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 ...
Gianni Pasquali's user avatar
2 votes
3 answers
3k 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%? ...
Masud Shaikh's user avatar
  • 1,189
2 votes
1 answer
420 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 ...
bimmer550's user avatar
2 votes
0 answers
30 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 ...
Allysin's user avatar
  • 178
3 votes
1 answer
171 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 ...
Magento Dev's user avatar
  • 1,254
1 vote
1 answer
2k 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: ...
Amy's user avatar
  • 935
1 vote
1 answer
417 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.
Stu-Dog's user avatar
  • 95
0 votes
1 answer
50 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 ...
Andras's user avatar
  • 169
0 votes
1 answer
27 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 ....
Andras's user avatar
  • 169
0 votes
0 answers
107 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 ...
Jerin Cherian's user avatar
0 votes
1 answer
57 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 ...
macecase's user avatar
1 vote
0 answers
169 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 ...
Ben Woodcock's user avatar
0 votes
3 answers
1k views

How to prevent memory consumption during collection enumeration?

In the following script: $pageSize = 1000; $productCollection = Mage::getModel('catalog/product') ->getCollection() ->addWebsiteFilter($website->getId()) ->...
Nikita Abrashnev's user avatar
2 votes
0 answers
343 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 ...
Osiriz's user avatar
  • 31
2 votes
1 answer
2k 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 ...
Vivek Shingala's user avatar
0 votes
0 answers
175 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\...
fudu's user avatar
  • 1,258
0 votes
4 answers
3k 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 ...
Greg's user avatar
  • 2,919
2 votes
2 answers
233 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 ...
CraigShort's user avatar
0 votes
3 answers
3k 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 ...
Amblymoron's user avatar
0 votes
1 answer
195 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.
Bong Channarith's user avatar
0 votes
1 answer
41 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. ...
Nithin's user avatar
  • 1
0 votes
0 answers
20 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 ...
user1435853's user avatar
1 vote
1 answer
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 ...
Adam Sadék's user avatar
0 votes
2 answers
2k 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 ...
Rushed89's user avatar
0 votes
1 answer
4k 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 ...
Tabart's user avatar
  • 21
1 vote
1 answer
20 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 ...
Kaascroissant's user avatar
1 vote
4 answers
2k 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?
Krishnam's user avatar
3 votes
0 answers
744 views

Magento 2 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\...
HoangHieu's user avatar
  • 1,338