PDA

View Full Version : Gal 4.5c VB 3.5.1 Memory Problem.


pixl97
12-09-2005, 09:21 PM
Recently we upgraded to VB 3.5.1, and GAL 4.5c(LITE). Since then GAL has not worked. This is the error message we are getting.

[Fri Dec 09 15:22:34 2005] [error] [client 71.192.165.197] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 23292948 bytes) in /home/ar/vbulletin/gal/includes/gal_class_core.php on line 109, referer: http://forums.steroid.com/forumdisplay.php?f=88

for some reason GAL is trying to allocate large amounts of memory (100's of MB's), our php memory limit wont allow it or it will kill the server really quickly.

Im not exactly sure whats going on, has anybody else seen this, any pointers?

Thank You
Peter

The Geek
12-09-2005, 09:33 PM
Looks like its trying to allocate about 23 meg which isnt 100's - but a lot. How many entires do you have?

pixl97
12-13-2005, 06:18 PM
We got the question answered on vb.org, that one query was allocating 23MB over our memory limit, some querys allocated much much more.

The Geek
12-13-2005, 06:25 PM
Is this with GAL LITE then? A couple users have mentioned this. For right now, you can delete line 109.

Its from some pre_replace returns not being unset - ill update it as soon as I get GARS RC3 up :)