Hello, Drupal 6.8
Sorry for a noob question. I just added a new content type, and got this:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1252219 bytes) in /includes/database.mysql.inc on line 301
I googled around and I could guess I need to hack .htaccess file, but not sure what is the exact syntax and if I need the tag or just write one line. Any help would be appreciated.
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
A new development. Since my attempt to increase the memory in the .htaccess ended up with Error 500, I realized I already had php.ini file in place, which declared 32MB. I changed it to 64MB. Now I am getting this:
Fatal error: Out of memory (allocated 33554432) (tried to allocate 1292073 bytes) in /includes/database.mysql.inc on line 301
A slightly different error.
The problem is that the content types are being created but there is no link to create a node based on the new content type. This is scaring me. Please help.
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
Fatal error: Out of memory (allocated 33554432) (tried to allocate
1292073 bytes) in /includes/database.mysql.inc on line 301
ini_set('memory_limit','64M');
add this line to settings.php at line no. 149 (/drupal6/sites/default/settings.php)
Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/
On 09/01/06(火), at 1:00, sivaji j.g wrote:
ini_set('memory_limit','64M');
add this line to settings.php at line no. 149 (/drupal6/sites/ default/settings.php)
Thank you for your quick response. I am still getting the same error after modifying as you suggested, and update.php, and rebuild permission:
Fatal error: Out of memory (allocated 34340864) (tried to allocate 690495 bytes) in /includes/database.mysql.inc on line 301
The exact number is a little different, but does it say anything?
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
Fatal error: Out of memory (allocated 34340864) (tried to allocate 690495 bytes) in /includes/database.mysql.inc on line 301
The exact number is a little different, but does it say anything?
1.May be you need to restart your apache and MySQL server 2.Have a look at watchdog table 3.Have a look at apache log files (access.log and error.log)
On 09/01/06(火), at 1:34, sivaji j.g wrote:
1.May be you need to restart your apache and MySQL server
I downloaded the database and it runs fine on my local dev machine. I also placed phpinfo.php, and it says I've got 64MB. But my ISP won't restart the services for me. I don't know what to do at this point.
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
Quoting "sivaji j.g" sivaji2009@gmail.com:
Fatal error: Out of memory (allocated 34340864) (tried to allocate 690495 bytes) in /includes/database.mysql.inc on line 301
The exact number is a little different, but does it say anything?
1.May be you need to restart your apache and MySQL server 2.Have a look at watchdog table 3.Have a look at apache log files (access.log and error.log)
Try increasing the memory_limit value for PHP. You can do this by editing the .htaccess file in the Drupal root directory adding a line similar to the following. It can be added to the end of the file.
php_value memory_limit 64M
-- Earnie http://r-feed.com Make a Drupal difference and review core patches.
The 3 different ways to increase your php memory_limit are described here:
No service needs to be restarted. If you have tried more than one methods, note that the settings.php method overrides the other ones. If it is Drupal 6, you can take a look at the admin/reports/status page to see whether your memory setting had any effect.
According to your error message, your memory_limit is still 32M, it didn't change. There is a possibility that your host has set a 32M limit which you can't exceed, in which case you will need to get rid of some modules to save memory (or change your hosting plan or change your host).
Missing links are sometimes a result of an incomplete operation. After fixing the memory problem, you may need to run update.php (if it is Drupal 6) or create your new content type again.
On Tue, Jan 6, 2009 at 7:50 AM, A-NO-NE Music madflute@anonemusic.com wrote:
A new development. Since my attempt to increase the memory in the .htaccess ended up with Error 500, I realized I already had php.ini file in place, which declared 32MB. I changed it to 64MB. Now I am getting this:
Fatal error: Out of memory (allocated 33554432) (tried to allocate 1292073 bytes) in /includes/database.mysql.inc on line 301
A slightly different error.
The problem is that the content types are being created but there is no link to create a node based on the new content type. This is scaring me. Please help.
--
- Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
-- [ Drupal support list | http://lists.drupal.org/ ]
On 09/01/07(水), at 4:40, Cog Rusty wrote:
The 3 different ways to increase your php memory_limit are described here:
No service needs to be restarted. If you have tried more than one methods, note that the settings.php method overrides the other ones. If it is Drupal 6, you can take a look at the admin/reports/status page to see whether your memory setting had any effect.
Thank you for your response. Yes, it does say 64MB so that doesn't seems to be the issue. Or, do I still see 64MB even though my ISP limits to 32MB? I should call them.
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com