PDA

View Full Version : Out of memory problem with Mantis Bugtracker



Bob Barr
03-05-2009, 11:27 PM
I've just started getting a strange error message when I try to access my Mantis Bugtracker package. The resulting error message is:

Fatal error: Out of memory (allocated 3932160) (tried to allocate 122880 bytes) in /home3/xxxx/public_html/xxxx/mantis/core/history_api.php on line 304
When I tried to examine the php file with the File Manager's 'Code Editor' function (so that I could see the line numbers), the editor failed to open the file. Could this be a permissions issue? While I can view the file through the File Manager's 'View' button (without line numbers), I don't seem to be able to use the editor on it.

Also, this package was working fine just this morning.

Can anybody give me any clues as to what to look for in the php file once I manage to locate line 304 in the file? I don't understand why I'd be seeing this out-of-memory error when it's only trying to allocate 122 kbytes.

Bob Barr
03-08-2009, 03:15 PM
This problem mysteriously "went away" as I was trying to track it down. I made no changes to the php code at all. (To confirm this, I downloaded the php files involved and found that they are byte-for-byte identical to local copies that I have on my own machine.)

I'm going to try to localize it as far as I can and then ask Bluehost support what might have changed on my server from yesterday to today. Something certainly changed and it definitely wasn't anything that I did to the code.