Out of memory?
| Project: | Support file Cache |
| Version: | 5.x-1.1-a |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
I am getting a lot of memory problem with my host in general, so this could be their problem.
However, when I try to click on the CSS tab I get the following out of memory error:
Fatal error: Out of memory (allocated 32243712) (tried to allocate 378864 bytes) in <...>/includes/form.inc on line 1470
I am on a shared host (1&1):
Drupal
Version 5.7
Web server
Type Apache
Version 1.3.34
Operating system Linux
PHP interface cgi
PHP
Version 5.2.5
Magic quotes GPC On
Magic quotes runtime Off
Memory limit 40M
Register globals Off
Safe mode Off
Session cache limiter none
Session save handler user
Upload max filesize 20M
Extensions
CURL version 7.15.5
GD version bundled (2.0.34 compatible)
FreeType support Enabled
JPG support Enabled
PNG support Enabled
Multibyte support Enabled
XML support Enabled
Zip support Disabled
Zlib support Enabled
Database
Type MySQL
Version 5.0.51a
Charset utf8
Collation utf8_general_ci
Permissions
Create temporary tables Disallowed
Lock tables Disallowed

#1
Clarification: I get this error when I click on the CSS main tab or on the by path, or by bundle tabs.
I also found these log entries after I got the out of memory error:
error php 04/28/2008 - 01:38 Division by zero in ... Administrator
error php 04/28/2008 - 01:38 Division by zero in ... Administrator
warning access denied 04/28/2008 - 01:38 admin/build/sf_cache/css/by-path Anonymous
warning access denied 04/28/2008 - 01:37 admin/build/sf_cache/css/autodetect Anonymous (I got this when I tried the autodetect tab).
The division by zero log entry message:
Division by zero in <...>/sites/all/modules/sf_cache/ui/sf_cache_ui.table.inc on line 198.
I hope this helps. ;-)
#2
The memory problem is indeed caused by ultra-low limits imposed by the hosting company. Drupal generally needs quite some memory. Your memory limit of 40M is okay for smallish sites, but as soon as you enable a lot of modules, you'll easily get over that. There is no way this module can fix this effectively.