Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
58 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-...
user avatar
  • 1,417
0 votes
1 answer
44 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 /...
user avatar
0 votes
0 answers
16 views

Using Composer 1 despite showing Composer 2

I'm trying to add an extension on a shared server. When I look at the version of Composer at the root level for Magento 2.3.5, it tells me 2.0.8. When I view the free memory, it appears that I have ...
user avatar
0 votes
3 answers
73 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 ...
user avatar
  • 71
0 votes
2 answers
86 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/...
user avatar
0 votes
1 answer
241 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-...
user avatar
0 votes
1 answer
351 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&...
user avatar
  • 103
0 votes
2 answers
210 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 ...
user avatar
  • 306
0 votes
0 answers
33 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 ...
user avatar
  • 1
0 votes
2 answers
33 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 ...
user avatar
0 votes
0 answers
31 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 ...
user avatar
  • 81
0 votes
0 answers
67 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. ...
user avatar
  • 1,549
0 votes
1 answer
501 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 ...
user avatar
1 vote
1 answer
543 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 ...
user avatar
0 votes
1 answer
63 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 ...
user avatar
  • 103
0 votes
0 answers
176 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 ...
user avatar
  • 583
0 votes
0 answers
216 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 ...
user avatar
  • 19
0 votes
1 answer
154 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
user avatar
2 votes
4 answers
4k 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 ?
user avatar
1 vote
3 answers
867 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 ...
user avatar
  • 21
1 vote
2 answers
616 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 ...
user avatar
1 vote
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%? ...
user avatar
  • 1,127
2 votes
1 answer
179 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 ...
user avatar
2 votes
0 answers
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 ...
user avatar
  • 306
3 votes
1 answer
135 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 ...
user avatar
  • 1,204
1 vote
1 answer
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: ...
user avatar
  • 925
1 vote
1 answer
354 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.
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 ...
user avatar
  • 169
0 votes
1 answer
22 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 ....
user avatar
  • 169
0 votes
0 answers
99 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 ...
user avatar
0 votes
1 answer
50 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 ...
user avatar
1 vote
0 answers
149 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 ...
user avatar
0 votes
3 answers
987 views

How to prevent memory consumption during collection enumeration?

In the following script: $pageSize = 1000; $productCollection = Mage::getModel('catalog/product') ->getCollection() ->addWebsiteFilter($website->getId()) ->...
user avatar
2 votes
0 answers
277 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 ...
user avatar
  • 31
2 votes
1 answer
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 ...
user avatar
0 votes
0 answers
146 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\...
user avatar
  • 1,168
0 votes
4 answers
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 ...
user avatar
  • 2,739
2 votes
2 answers
213 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 ...
user avatar
0 votes
3 answers
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 ...
user avatar
0 votes
1 answer
170 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.
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. ...
user avatar
  • 1
0 votes
0 answers
16 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 ...
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 ...
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 ...
user avatar
0 votes
1 answer
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 ...
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 ...
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?
user avatar
3 votes
0 answers
635 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\...
user avatar
  • 1,172
0 votes
0 answers
128 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 ...
user avatar
2 votes
0 answers
415 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 ...
user avatar