Where to put Memory_get_usage? - Joomla! Forum - community, help and support
i got several time 1 of famous messages
fatal error: allowed memory size of 134217728 bytes exhausted (tried allocate 16133647 bytes) in /home/nomadtra/public_html/libraries/joomla/cache/storage/file.php on line 142
if can line 142
now, checked php memory amount of shared hosting, , 128mb, reading in forum looks quite amount. didn't change website, , started have problems in sudden, maybe 1 day. it's working properly, still didn't change anything, don't what's reason. read in hundreds of similar posts in forum should use function memory_get_usage understand how memory scripts using, understand if 1 of them giving me problems, in page http://uk.php.net/manual/en/function.me ... -usage.php
but problem know nothing of java. should put code? @ end of index.php file? or should create new file , put where? or else? sorry ignorance. davide
fatal error: allowed memory size of 134217728 bytes exhausted (tried allocate 16133647 bytes) in /home/nomadtra/public_html/libraries/joomla/cache/storage/file.php on line 142
if can line 142
code: select all
141// data integrity check
142if ($written && ($data == file_get_contents($path)))
{
return true;
}
else
{
return false;
now, checked php memory amount of shared hosting, , 128mb, reading in forum looks quite amount. didn't change website, , started have problems in sudden, maybe 1 day. it's working properly, still didn't change anything, don't what's reason. read in hundreds of similar posts in forum should use function memory_get_usage understand how memory scripts using, understand if 1 of them giving me problems, in page http://uk.php.net/manual/en/function.me ... -usage.php
but problem know nothing of java. should put code? @ end of index.php file? or should create new file , put where? or else? sorry ignorance. davide
hello, nobody knows simple question? guess knows java should know should put memory_get_usage debug site, lost 24 hours searching simple solution...
i'm wondering if built in debug mode in joomla giving same information, because 1 can use it
i'm wondering if built in debug mode in joomla giving same information, because 1 can use it
Comments
Post a Comment