There is other parameters that can limit the max size of imports in php.ini.
I can't remember exactly, what I maid was raising all parameters that looked
like a limit, it worked, yet you'd better make a save of your php.ini file
to restor it after if you try this method.

2009/7/3 Enrique <[email protected]>

> i'm trying with importDump.php , but i recive fatal errors related with
> memory my php.ini cli is same apache
> I'm importing eswiki-pages-articles.xml with importdump.php scritp i trying
> many times and allways recive this error somes times refering to other
> include but always when reached the line 52600 (1.87 pages/sec 1.87
> revs/sec)
>  on progres.log
> line error:
> 52600 (1.87 pages/sec 1.87 revs/sec)
> Fatal error: Out of memory (allocated 870580224) (tried to allocate 182173
> bytes) in /home/www/wikipedia-es/includes/db/Database.php on line 564
>
> i readed
>
> http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#Fatal_error:_Allowed_memory_size_of_nnnnnnn_bytes_exhausted_.28tried_to_allocate_nnnnnnnn_bytes.29
> and many other pages
> in /etc/php5/apache2/php.ini :
> memory_limit = 256M
>
> in LocalSetting.php:
> ini_set( 'memory_limit', '256M' );
>
> php version :
> #php5 -v
> PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 26 2009
> 22:16:23)
> Copyright (c) 1997-2008 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
>    with XCache v1.2.2, Copyright (c) 2005-2007, by mOo`
>
> i have make a test with:
> <?php
> $i = 0;
> $a = array();
> while( $i++ < 100000 )
> {
> $a[] = 'a';
> }
> echo memory_get_usage();
> ?>
>
> # php5 -f phptest.php
> 13374632
>
>
> I increase fisical memory to 3 GB, but the problem continue when i runn
> importDump.php
>
>
> ----- Original Message -----
> From: "Platonides" <[email protected]>
> To: <[email protected]>
> Sent: Friday, July 03, 2009 9:58 AM
> Subject: Re: [Mediawiki-l] articles and templates
>
>
> > Enrique wrote:
> >> I'm downloaded eswiki-20090615-pages-articles and imported with
> >> mwdumper.jar.  when i go to see an article in the place of an templates
> >> are articles them  I see these articles in many other pages.
> >> the last year i make same procedure and i see the main page know not. in
> >> the place of my templates i have articles.
> >> i have run rebuildall.php and  the problem continues
> >
> > Is mediawiki configured in Spanish language?
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > [email protected]
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to