[Mediawiki-l] Memory limit in InitialiseMessages (latest SVN version)

iubito iubito at gmail.com
Sun Apr 9 19:18:27 UTC 2006


Hi, I thought I grabbed 1.6.2 from SVN, but when I install it says

"MediaWiki 1.7alpha"

Before the big fatal error, here are a few warnings :
Warning: file_exists(): Unable to access /usr/bin/gdiff3 in
/var/www/.../config/index.php on line 1412
You should add a @ before the file_exists, this will avoid the error
displayed for each diff3/convert tests.

Now is the serious problem.

Environment checked. You can install MediaWiki.
Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider
changing it manually.
Generating configuration file...
Database type: mysql
Attempting to connect to database server as ... ...success.
Connected to 5.0.19
Database ... exists

There are already MediaWiki tables in this database. Checking if updates are
needed...
...hitcounter table already exists.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...logging table already exists.
...validate table already exists.
...user_newtalk table already exists.
...transcache table already exists.
...trackbacks table already exists.
Creating externallinks table...ok
Creating job table...ok
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...have rc_type field in recentchanges table.
...have rc_ip field in recentchanges table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...have user_real_name field in user table.
...have user_token field in user table.
...have user_email_token field in user table.
Adding user_registration field to table user...ok
...have log_params field in logging table.
...have ar_rev_id field in archive table.
...have ar_text_id field in archive table.
...have page_len field in page table.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have img_media_type field in image table.
...have val_ip field in validate table.
...have ss_total_pages field in site_stats table.
...have iw_trans field in interwiki table.
Adding ipb_range_start field to table ipblocks...ok
Adding ss_images field to table site_stats...ok
...already have interwiki table
...indexes seem up to 20031107 standards
Already have pagelinks; skipping old links table updates.
...image primary key already set.
The watchlist table is already set up for email notification.
...watchlist talk page rows already present
...user table does not contain old email authentication field.
Logging table has correct title encoding.
...page table already exists.
revision timestamp indexes already up to 2005-03-13
...rev_text_id already in place.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...already have pagelinks table.
Creating templatelinks table...
Populating...
Done. Please run maintenance/refreshLinks.php for a more thorough
templatelinks update.
No img_type field in image table; Good.
Already have unique user_name index.
...user_groups table already exists.
...user_groups is in current format.
Making wl_notificationtimestamp nullable... ok
Adding timestamp key on logging table... ok
Setting page_random to a random value on rows where it equals 0...changed
955 rows
Initialising "MediaWiki" namespace...

*Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 32 bytes) in /var/www/.../maintenance/InitialiseMessages.inc on
line 146*

If I reload, the number of allocated bytes varies (32, 46...). Of course I
can't increase memory limit. What can I do ?


--
Sylvain Machefert
http://iubito.free.fr
http://tousauxbalkans.free.fr



More information about the MediaWiki-l mailing list