Knowledge Base Article

I am getting 'libgomp: Thread creation failed: Cannot allocate memory' when uploading images to MediaWiki.

This error message appears when you try to upload an image with large dimensions to a MediaWiki website which is configured to use ImageMagick for image conversions.

 

In order to resolve the issue, you would need to switch the conversion method from ImageMagick to GD Library by changing the following line in your LocalSettings.php file:

$wgUseImageMagick = true;

to

$wgUseImageMagick = false;



Rating

Please indicate if this article was helpful for you.

rating :  4.5 from 5
views :  84
votes :  2

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!