Page 1 of 1

Fatal error: Allowed memory size of 67108864 bytes exhausted

Posted: Fri Jan 10, 2014 12:08 pm
by bitsuicide
Hi everyone,
in my module Statistic now there is this error and i can't use it now.

Can anyone help me?

Tnx

----------------------------------------------
Cms Version: 1.11.9
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.3
MenuManager: 1.8.6
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.13
ThemeManager: 1.1.8
Gallery: 1.6.1
CGExtensions: 1.37.3
NMS: 2.7.4
Captcha: 0.4.6
CGCalendar: 1.10.4
TinyMCE: 2.9.12
Search: 1.7.11
Statistics: 1.1.3
FormBuilder: 0.7.4
Archiver: 0.2.6
youtubeplayer: 1.3.1
SFacebook: 0.1
ShareItPop: 0.1.1
CGSimpleSmarty: 1.7
CGBlog: 1.10.3
Showtime: 3.3
CGJobMgr: 1.2.16
CMSForms: 1.10.14
RSS2HTML: 1.2.5.2
CGFeedMaker: 1.0.17
GoogleCalendar: 0.1.1
XMLMadeSimple: 0.1.2

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.3.3-7+squeeze14
md5_function: On (Vero)
gd_version: 2
tempnam_function: On (Vero)
magic_quotes_runtime: Off (Falso)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 120
output_buffering: 0
safe_mode: Off (Falso)
file_uploads: On (Vero)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: On (Vero)
xml_function: On (Vero)
xmlreader_class: On (Vero)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.63
Server Db Grants: Ho trovato una dichiarazione "GRANT ALL" che sembra essere adatta
Server Time Diff: Nessuna differenza di orario del filesystem individuata

----------------------------------------------

Re: Fatal error: Allowed memory size of 67108864 bytes exhau

Posted: Fri Jan 10, 2014 12:25 pm
by chandra
Do you are using all installed modules?

If no deactivate all you don't need. Every installed module needs additional memory.

Re: Fatal error: Allowed memory size of 67108864 bytes exhau

Posted: Fri Jan 10, 2014 12:29 pm
by bitsuicide
i've resolved with an optimization of the table cms_module_stat_logstrings

Re: Fatal error: Allowed memory size of 67108864 bytes exhau

Posted: Fri Jan 10, 2014 2:48 pm
by JohnnyB
bitsuicide wrote:i've resolved with an optimization of the table cms_module_stat_logstrings
Good that helped, but you will need to constantly perform that optimization probably.

You might consider raising this PHP limit: memory_limit: 64M to at least memory_limit: 128M

You can contact your host company or adjust your php.ini file for your server if you have access.

Re: Fatal error: Allowed memory size of 67108864 bytes exhau

Posted: Fri Jan 10, 2014 7:36 pm
by chandra
bitsuicide wrote:i've resolved with an optimization of the table cms_module_stat_logstrings
Would you explain your solution?