https://bugzilla.wikimedia.org/show_bug.cgi?id=26191

--- Comment #5 from Jamie Taniguchi <tekmo...@neoseeker.com> 2010-12-02 
02:06:32 UTC ---
(In reply to comment #4)
> (In reply to comment #0)
> > The Special:UnusedFiles script seems to have a memory leak that causes a 
> > Fatal
> > error. From our email reports this was the error:
> > 
> 
> You mean PHP has memory leaks ;-)
> 
> > 2    Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to
> > allocate 22664 bytes) in /w/includes/media/Bitmap.php on line 213
> > Request (GET)
> > 
> 
> Your memory limit seems low, you should raise it.

The script which runs on PHP, yes. You're getting into semantics that doesn't
contribute to the bug at hand.

Yes, I could raise the memory limit but I don't see that as a viable solution
to the problem. I could guess at what the problem is (the images on the page
haven't had their thumbnail version created yet, landing on the page initiates
that process and creating 50+ thumbs is eating up memory) but that doesn't mean
increasing the memory limit is the solution. What if to stop the fatal errors I
had to increase the memory limit on that page to 500mb? that's not acceptable.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to