Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [memory-leak]

Memory leak occurs when programmers create a memory in heap and forget to delete it. Memory leaks are particularly serious issues for programs like daemons and servers which by definition never terminate.

2
votes
1answer
34 views

Magento 2 Configurable Product Out of memory

We have been using Ubertheme to transfer our magento1 store to magento2. Everything seems to be working correctly, except when we go to a configurable product (backend or frontend), the Magento2 ...
1
vote
0answers
10 views

Magento2 multi-store view memory issue

I have a two websites I just merged to be one magento2.2.5 based multi-site. One website but multi-store views. Now when I login as one of my test customers on one website view it works however if i ...
2
votes
0answers
18 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
43 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
0answers
52 views

Magento 1.9.1 500 Memory exhausted error, clearing client session help

The exhausted memory error appears regardless of the memory limit for certain random clients. Setting 2, 4, 8GB of memory limit not resolve the problem. The error appears in each case. Client navigate ...
0
votes
0answers
84 views

Memory usage high for specific time?

I have godaddy dedicated server with 8GB RAM. but its use 80 to 90% RAM. so result is site down. i checked process list in mysql but it is empty. also check top -ca command for highest usage RMA, that ...
0
votes
1answer
120 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
2answers
287 views

Out of memory on collectionFactory->create()

I'm getting a strange error on code which previously worked and now dont. <?php namespace Itstod\LinkedProducts\Model; use Itstod\LinkedProducts\Api\LinkInterface; use Itstod\...
2
votes
0answers
204 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 ...
3
votes
1answer
595 views

Memory leak in magento when saving products

I have a problem when trying to mass update group prices in products. It seems when saving the products memory doesn't get released properly and keeps accumulating until it gets exhausted. I've set ...
0
votes
1answer
390 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 ...
1
vote
1answer
118 views

cron to update product attribute running out of memory

I am trying to have a cron to update a custom product attribute for configurable products, public function updateReport() { Mage::app()->getStore()->setConfig('catalog/frontend/...
0
votes
1answer
423 views

Memory leaks in long-running loop

Consider the following loop: // Determine the final state of orders. $orders = Mage::getModel('sales/order') ->getCollection() ->addAttributeToFilter('entity_id', array_keys($orderIDs));...
0
votes
1answer
39 views

What are the possibilities of error for not Export and Import [duplicate]

I have a problem of export and import in my site, error are : system - import/export - export : http://i.stack.imgur.com/C5y2X.png system - import/export - dataflow profiles - export all ...
0
votes
0answers
50 views

Site breaks when trying to disable cache on dev site

My dev site is an exact clone of my live site (barring the local.xml file to make the dev site talk to the cloned database), hosted under a separate domain name on the same web server. When I try to ...
10
votes
3answers
1k views

Magento 1: Performance optimizations to delete entities

I'm currently trying to improve a couple of modules regarding performance. Some of you may know the usage of the walk() method on collection which is very useful to avoid looping through products ...
1
vote
2answers
70 views

One time script to set custom attribute for ~1m customers - memory leak

I'm trying to run a one-time script (in a custom module upgrade) to set a new attribute last_order_date based on the date of that customer's last order. I have this script: $users = mage::getModel('...
1
vote
2answers
263 views

performance problems on a Cloud hosting account

I have installed the newest version of the Magento shopping cart 1.9.1 and we are having serious performance problems (extremely high load, server running out of memory...) Is there something we can ...
0
votes
1answer
255 views

Magento report grid running out of memory

We have a custom order export script that runs out of memory. Exporting a small time range works fine, but exporting all of December does not (more orders than usual, due to the holidays.) I added ...
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 ...