I am getting this error in Drush everytime I try to update core: *Drush command terminated abnormally due to an unrecoverable error. [error] Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 83 bytes) in /home3/tonymacc/drush/commands/core/sitealias.drush.inc, line 46 * I have checked the php.inis I can find, not knowing which one is pulling (only 2 actually), and they both have a line about php memory. php.ini at home3/tonymacc has only two lines *php_value memory_limit = "128M" magic_quotes_gpc off * php.ini at home3/tonymacc/public_html has a full blown php.ini with the line: *php_value memory_limit = "128M".* Is the error message referring to the php memory or something else? Thanks Tony -- *Anthony Stefan Maciejowski*
Hi If you do a php -i it will tell you which one you are using. Generally on my dev machine or machines which have a separate php.ini for the cli version I either make the memory limit unlimited or very large Gordon Sent from my iPhone On 22/09/2012, at 8:20 AM, Anthony <tony@tony-mac.com> wrote: I am getting this error in Drush everytime I try to update core: *Drush command terminated abnormally due to an unrecoverable error. [error] Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 83 bytes) in /home3/tonymacc/drush/commands/core/sitealias.drush.inc, line 46 * I have checked the php.inis I can find, not knowing which one is pulling (only 2 actually), and they both have a line about php memory. php.ini at home3/tonymacc has only two lines *php_value memory_limit = "128M" magic_quotes_gpc off * php.ini at home3/tonymacc/public_html has a full blown php.ini with the line: *php_value memory_limit = "128M".* Is the error message referring to the php memory or something else? Thanks Tony -- *Anthony Stefan Maciejowski* -- [ Drupal support list | http://lists.drupal.org/ ]
But both versions are set to 128m and the error is saying I only have 68m. Por que? On Fri, Sep 21, 2012 at 3:32 PM, Gordon Heydon <gordon@heydon.com.au> wrote:
Hi
If you do a php -i it will tell you which one you are using.
Generally on my dev machine or machines which have a separate php.ini for the cli version I either make the memory limit unlimited or very large
Gordon
Sent from my iPhone
On 22/09/2012, at 8:20 AM, Anthony <tony@tony-mac.com> wrote:
I am getting this error in Drush everytime I try to update core: *Drush command terminated abnormally due to an unrecoverable error. [error] Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 83 bytes) in /home3/tonymacc/drush/commands/core/sitealias.drush.inc, line 46 * I have checked the php.inis I can find, not knowing which one is pulling (only 2 actually), and they both have a line about php memory.
php.ini at home3/tonymacc has only two lines *php_value memory_limit = "128M" magic_quotes_gpc off * php.ini at home3/tonymacc/public_html has a full blown php.ini with the line: *php_value memory_limit = "128M".*
Is the error message referring to the php memory or something else?
Thanks Tony
--
*Anthony Stefan Maciejowski*
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- *Anthony Stefan Maciejowski*
Hi Have you checked which one you are really using with php -i I think you are actually using a 3rd php.ini which you don't know about. Gordon Sent from my iPhone On 22/09/2012, at 8:43 AM, Anthony <tony@tony-mac.com> wrote: But both versions are set to 128m and the error is saying I only have 68m. Por que? On Fri, Sep 21, 2012 at 3:32 PM, Gordon Heydon <gordon@heydon.com.au> wrote:
Hi
If you do a php -i it will tell you which one you are using.
Generally on my dev machine or machines which have a separate php.ini for the cli version I either make the memory limit unlimited or very large
Gordon
Sent from my iPhone
On 22/09/2012, at 8:20 AM, Anthony <tony@tony-mac.com> wrote:
I am getting this error in Drush everytime I try to update core: *Drush command terminated abnormally due to an unrecoverable error. [error] Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 83 bytes) in /home3/tonymacc/drush/commands/core/sitealias.drush.inc, line 46 * I have checked the php.inis I can find, not knowing which one is pulling (only 2 actually), and they both have a line about php memory.
php.ini at home3/tonymacc has only two lines *php_value memory_limit = "128M" magic_quotes_gpc off * php.ini at home3/tonymacc/public_html has a full blown php.ini with the line: *php_value memory_limit = "128M".*
Is the error message referring to the php memory or something else?
Thanks Tony
--
*Anthony Stefan Maciejowski*
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- *Anthony Stefan Maciejowski* -- [ Drupal support list | http://lists.drupal.org/ ]
Thanks. Will get to it later. Php -i in putty? tony mac is building web sites. -----Original Message----- From: Gordon Heydon <gordon@heydon.com.au> Sender: support-bounces@drupal.org Date: Sat, 22 Sep 2012 08:55:36 To: support@drupal.org<support@drupal.org> Reply-To: support@drupal.org Subject: Re: [support] PHP memory error -- [ Drupal support list | http://lists.drupal.org/ ]
participants (3)
-
Anthony -
Gordon Heydon -
Tony MAC