Topic on Project:Support desk

Error creating thumbnail: convert: memory allocation failed

This topic was hidden by 160.160.13.57
Reason: Szicy
7
Dark T Zeratul (talkcontribs)

http://colton3d.com/dnd/Main_Page

So I was attempting to upload an image last night when I believe my host had some network issues. The result of all this is that this image, as well as the past few revisions, will no longer display a thumbnail. Instead, it gives me the following error where the thumbnail would be:

Error creating thumbnail: convert: memory allocation failed `/hermes/bosweb/web169/b1696/nf.colton3d/public_html/colton3d.com/wiki/images/d/d8/WorldMap.jpg[0]' @ error/cache.c/AcquireCacheNexusPixels/565. convert: memory allocation failed `/hermes/bosweb/web169/b1696/nf.colton3d/public_html/colton3d.com/wiki/images/d/d8/WorldMap.jpg[0]' @ error/cache.c/AcquireCacheNexusPixels/565. convert: Insufficient memory (case 4) `/hermes/bosweb/web169/b1696/nf.colton3d/public_html/colton3d.com/wiki/images/thumb/d/d8/WorldMap.jpg/180px-WorldMap.jpg' @ error/jpeg.c/EmitMessage/233.

The past few revisions have similar errors:

  • Error creating thumbnail: convert: Memory allocation failed `' @ fatal/exception.c/AcquireExceptionInfo/108.
  • Error creating thumbnail: convert: UnableToAcquireString `' @ fatal/string.c/AcquireString/126.

When attempting to view the image page http://colton3d.com/dnd/File:WorldMap.jpg while logged in, it hangs for several minutes before either timing out or returning a 500 error. It also does the same thing when attempting to view any other page on the wiki, until I clear my cache. When viewing the image directly, or its past revisions, it loads properly. All other images and thumbnails load properly.

Does anyone know how I can solve this problem? I do have FTP access.

Update: Just uploaded a new image, and got the following error: Error creating thumbnail: convert: MemoryAllocationFailed `' @ fatal/exception.c/AcquireExceptionInfo/108. convert: MemoryAllocationFailed `�� �p_���^��\�@�' @ fatal/hashmap.c/NewLinkedList/1411.

Emufarmers (talkcontribs)

It sounds like your host changed a memory limit. You should talk to them.

Emufarmers (talkcontribs)

Now I'm seeing errors like
(Can't contact the database server: User u70717484 already has more than 'max_user_connections' active connections (colton3d.netfirmsmysql.com))
It sounds like your host is pretty messed up.

Bawolff (talkcontribs)
Dark T Zeratul (talkcontribs)

Which file is that in? The page doesn't say and I didn't see it in either LocalSettings.php or AdminSettings.php.

Bawolff (talkcontribs)

Add it to the bottom of your LocalSettings.php

Seanchen (talkcontribs)

Increasing $wgMaxShellMemory helped solve this error in my wiki instance. I did increased it from default 307200 to 512000, which is 500MB.