Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
27
votes
13answers
48k 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 ...
8
votes
3answers
24k 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 ...
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 ...
2
votes
2answers
1k 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[$...
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 ...
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, ...
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. ...
3
votes
6answers
19k 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 ...
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:...
3
votes
0answers
422 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\...
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: ...
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 ...
0
votes
1answer
316 views

Certain Magento Pages returning HTTP Error 500

Undergoing a Server Migration and Magento has been an issue. The page works just fine but every time that someone clicks on "Check out with PayPal", "PayPal Credit", or "Checkout with other options", ...
0
votes
3answers
799 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 ...