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

Fabio Di Bernardini fdb at altraqua.com
Tue Mar 22 17:10:30 CET 2011


With version 1.4.5 restoration of files worked.
I'm using a VPS (OpenVZ) with 512MB ram + 512 MB swap.

Thank you very much.


Il 22/03/2011 15:34, Tobias Oetiker ha scritto:
> Today Karl Fischer wrote:
>
>> Am 22.03.2011 14:01, schrieb Tobias Oetiker:
>>> 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
>> uhh - didn't know that - interesting news.
>> The 220 MB memory usage I mentioned was using 1.4.5
>> I just tried it with 1.3.1 and it went right through the roof
>> (I killed the process after it took 7 GB of ram ...)
> the 1.3 version used a classic xml parser ... while 1.4 is now
> using a pull parser and thus uses more somethig in the region of
> the amount of memory occupied by the original rrd file.
>
> if we did two passes of the input file, this could even be reduced
> further
>
> cheers
> tobi
>
>> - Karl
>>
>>


-- 
Fabio Di Bernardini<fdb at altraqua.com>
Altraqua di Fabio Di Bernardini
Via Preturo 12/C
67100 - Coppito (AQ) - ITALY
Web:	www.altraqua.com
Tel.:	(+39) 08621965586 - (+39) 08621956055
Cell.:	(+39) 3289636800
Fax:	(+39) 08621960186
Jabber:	altraqua at jabber.org
Skype:	altraqua



More information about the rrd-users mailing list