Last modified: 2010-05-15 15:37:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4304 - Some png-images lock up computer
Some png-images lock up computer
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-12-18 00:00 UTC by Fred Chess
Modified: 2010-05-15 15:37 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Fred Chess 2005-12-18 00:00:06 UTC
When accessing the URL above, my browser uses 80 - 90% CPU -- and 400 MB RAM!

This was tested with both Firefox and IE 6.0. 

The images used on the page are originally very large, cirka 8 MB when in full.
However, on my test page they are thumbnails.
Comment 1 Rob Church 2005-12-18 00:04:58 UTC
The server is still having to turn those 8MB images into 300px thumbnails, and
it's obviously choking on it; increased wait time - browser is hanging around.
Comment 2 Daniel Kinzler 2005-12-18 00:06:53 UTC
Server side scaling of very large png and gif images was disabled a while back,
because it used too much CPU and made wikipedia slow. Thus, it is left to your
browser to scale the images. Which obviously takes some RAM and CPU, as well as
quite long to download.

I.e., this is not really a bug, it's a feature... of sorts. I hope we'll have
enough computing power soon so scaling of big images can be turned back on.

Actually, the cost of scaling such images could be reduced by re-using big
thumbnails - i.e. to create a 180x180 thumb, don't use the 3000x3000 original,
but the existing 600x600 thumb, etc.
Comment 3 David Benbennick 2006-01-22 22:08:59 UTC
It would be nice if we could get a Special page listing all the overly-large PNG
and GIF images.  I'd be willing to upload hand-scaled versions of those images
if I could find them.

Note You need to log in before you can comment on or make changes to this bug.