[rrd-users] Out of memory restoring a big dump file

Tobias Oetiker tobi at oetiker.ch
Tue Mar 22 14:01:51 CET 2011


Hi Fabio,

note that the restore code has been completely rewritten in 1.4 and
is much more memory efficient now ... use 1.4

cheers
tobi

Today Fabio Di Bernardini wrote:

> Hi,
>
> I get this error while restoring a dump file of about 870 MB:
>
> root at server:# rrdtool restore rrd_big_dump.xml file.rrd
> parser error : out of memory error
> parser error : out of memory error
> rrd_big_dump.xml:638822: parser error : out of memory error
>                          <!-- 1990-08-09 16:26:00 CEST / 650211960 -->  <row><v>NaN</v></row>
>                                                                                ^
> rrd_big_dump.xml:638822: error: (null)<!-- 1990-08-09 16:26:00 CEST / 650211960 -->  <row><v>NaN</v></row>
>                                                                                ^
> parser error : out of memory error
> rrd_big_dump.xml:638822: parser error : out of memory error
>                          <!-- 1990-08-09 16:26:00 CEST / 650211960 -->  <row><v>NaN</v></row>
>
>
> The rrdtool version is:
>
> RRDtool 1.3.8  Copyright 1997-2009 by Tobias Oetiker<tobi at oetiker.ch>
>
>                 Compiled Feb 23 2010 21:36:53
>
>
> If you would try to restore the file, you can download at this address:
>
> http://users.lngs.infn.it/~fdb/rrd_big_dump.xml.bz2
>
> Thanks.
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list