- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2015
08:27 AM
11-03-2015
08:27 AM
Allowed memory size
Hi,
I have the next error on admin dashboard.
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2 bytes) in lib/Zend/Db/Statement/Pdo.php on line 290.
I tryed to change "php_value memory_limit 256M" to "php_value memory_limit 1024M" and i have the same error.
On index.php I added "ini_set('memory_limit', '-1');" and it works. Is there another possible solution?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2015
09:47 AM
11-04-2015
09:47 AM
Re: Allowed memory size
Can you confirm that your values changed after you made the update?
run phpinfo(); and it will tell you if you actually increased the memory
Magento Moderator since 2009
Keep Calm and Clear Cache!
Keep Calm and Clear Cache!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2015
10:50 AM
11-04-2015
10:50 AM
Re: Allowed memory size
Yes values have changed.
On /code/core/Mage/Adminhtml/Block/Dashboard.php
i commented
$this->setChild('sales', $this->getLayout()->createBlock('adminhtml/dashboard_sales') );
if the problem worsens i will seek a better solution.