I was getting a fatal error: allow memory size exhausted for the locale.module. This was occurring in the locale_refresh_cache function at the cache_set("locale:$locale", 'cache', serialize($t)); line. It was occurring straight after a user logged in, I cannot find any one else who had this issue. I got around it by bumping up the PHP memory limit but would like to know how and why it occurred so it doesn't happen again.

Further to this I don't understand why the translations needed to refresh, and why it exhausted my 32mb of memory. Below is what is found in my cache table:

cid data expire created
----------------------------------------------------------
locale:en [BLOB - 6 B] 0 1256621973
variables [BLOB - 6.2 KiB] 0 1256389499
locale:es [BLOB - 745.0 KiB] 0 1256621974
locale:zh-hans [BLOB - 533.7 KiB] 0 1256621974
locale:zh-hant [BLOB - 532.1 KiB] 0 1256621974

Thanks for your help.

Comments

dpearcefl’s picture

Status: Active » Closed (won't fix)

Considering the lack of activity on this issue and that Drupal v5 is no longer supported by fixes or patches, I am going to close this ticket. If this issue still exists and you want to continue to ask for technical support, please reopen and update this ticket.