PDA

View Full Version : Post limit



Peegee
06-03-2009, 04:08 AM
So

I used to have 500 posts per page or whatever it was (1000?) and now I can't have more than a certain amount. I'm running on 15 posts per page if I recall.

What is happening to resolve this? I demand to speak to your manager.

:love:

rubah
06-03-2009, 04:34 AM
I still have 30 ppp. you shouldn't've changed it earlier.

Yar
06-03-2009, 04:59 AM
I have 500 ppp. It works ok.

Peegee
06-03-2009, 05:02 AM
I didn't change anything.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/eyesonff/subdomain/forums/includes/class_postbit.php(303) : eval()'d code on line 230

rubah
06-03-2009, 05:23 AM
you said you changed it to 5ppp?

o_O
06-03-2009, 05:48 AM
Are you trying to view a thread with a lot of pictures in it? 'Cause that could cause the memory consumption for that CPU thread to jump up beyond the 33554432 byte limit.

rubah
06-03-2009, 06:13 AM
face:
tried to allocate 491520 bytes

o_O
06-03-2009, 01:23 PM
I think that's the size of the last attempted memory allocation. I could be wrong though. :p

Peegee
06-04-2009, 02:53 AM
I tested 200 and 500 posts per page on the mafia thread. Same issue

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1858535 bytes) in /home/eyesonff/subdomain/forums/includes/functions.php on line 5431

o_O
06-04-2009, 05:31 AM
It worked for me with 500 posts per page on BoB's simplified style, but not on any of the others. The relevant section of functions.php deals with replacing all of the variables in the style templates with actual code, so something strange is going on there. I wouldn't expect it to have used up 32MB of RAM on the server just to render 250-odd posts, so maybe there's something wrong with the templates. The other solution is to bump up the memory limit for PHP, but that's not ideal. Either way, it's a job for Warren and Michael (or maybe Samuraid if it's the templates).