memory limit is rising permanently

Phoca Guestbook - creating guestbooks in Joomla! CMS
User avatar
eumel1602
Phoca Member
Phoca Member
Posts: 25
Joined: 25 May 2012, 07:53
Location: SAYDA
Contact:

memory limit is rising permanently

Post by eumel1602 »

Hello!

I´m using the Phoca visitors´ book 2.0.5 with Joomla 2.5.4.
After setting with J!1.7. and also after updating to J!2.5 the visitors´ book is working correctly. Since some time the following error message appears periodical:

Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 72 bytes) in /var/www/web1334/html/neu/libraries/joomla/database/database/mysqli.php on line 498

As the error firstly appeared, I arranged an increased memory limit due to the provider. At that time from 32 M to 36 M script memory. This value is enough for the whole homepage. Now then (without one more visitors entry) I get error messages again and again in unsteady intervals. Someday my memory limit according to the provider is reached and the visitors´ book will be out of function.

Is there a chance to get help or constructive solution offers?

With best regards,
Eumel1602
Last edited by eumel1602 on 15 Jun 2012, 16:11, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: memory limit is rising permanently

Post by Jan »

Hi, see:
https://www.phoca.cz/documents/50-phoca/ ... al-advices

But mostly, Phoca Guestbook does not have any such problems, as there is no large demand to query database - only posts per paginaton are loaded, so this should be not a problem there?
If you find Phoca extensions useful, please support the project
User avatar
eumel1602
Phoca Member
Phoca Member
Posts: 25
Joined: 25 May 2012, 07:53
Location: SAYDA
Contact:

Re: memory limit is rising permanently

Post by eumel1602 »

Thanks so much for the link. So you think the problem is the limited server memory. Unfortunately, I already increased the server memory and the problem still exists…
At the template the fault does not lie, I have tested others there

and now..?
User avatar
eumel1602
Phoca Member
Phoca Member
Posts: 25
Joined: 25 May 2012, 07:53
Location: SAYDA
Contact:

Re: memory limit is rising permanently

Post by eumel1602 »

Hi!

The problem was not the Phoca guest book, where I noticed the error firstly. Today suddenly the whole homepage was switched offline because of a memory limit problem. After a pronounced research I detected, that an older (installed in the past, but not used now) JV counter was working simultaneously, writing junk data to the database for every web page entry. Thus, the memory limit was reached again and again. After deleting all elements of this counter and the resetting of the providers memory limit, the function of the homepage and the guest book is restored. It works very well from now on since a few days. The problem seems to be solved completely.

Thanks for your support!

Best regards,
eumel1602
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: memory limit is rising permanently

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply