-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Florian Pöck wrote: [snip]
** memory_limit = 128M
If i try to upload a file > 3000 KB to my wiki it results in the following error-message:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7168001 bytes) in /usr/share/mediawiki1.7/includes/Sanitizer.php on line 928
Are these image files or some other kind of files? Is image resizing support enabled? Are you using the GD library (default) or ImageMagick (with $wgUseImageMagick enabled)?
If using GD resizing, it may be counting more memory usage against you. However, the reference to which part of the code is using memory and how much seems unusual. That makes it sounds like you have a very large *page text* which is being processed.
You also have the memory_limit being set to 20 megabytes; that was probably due to the limit being low when you installed the software, and overrides your newly changed server settings. Remove the line for that from your LocalSettings.php to try letting the larger memory_limit through.
- -- brion vibber (brion @ wikimedia.org)