Re: Run away memory leak when exporting
Dominic Lachowicz <[email protected]> Fri, 7 May 2010 12:26:51 -0400
| Newsgroups | gmane.comp.gnome.lib.librsvg.devel |
|---|---|
| Message-ID | <[email protected]> |
librsvg uses Cairo for all of its rendering needs. If it renders to PNG without any problems, but not to PDF or PS, it might be that cairo is doing something inefficient. On Fri, May 7, 2010 at 12:22 PM, Joshua J. Kugler <[email protected]> wrote: > On Friday 07 May 2010, Dominic Lachowicz elucidated thus: >> Inkscape doesn't use librsvg. It could just be that your SVG is >> really complex to render. > > Hmm...OK, complex, maybe, it's 2.25 MB, and includes one 200K or so png > image. The odd thing is that it renders to PNG without issue. Like I > said, I'll try to come up with test case. > > Thanks > > j > >> >> On Fri, May 7, 2010 at 1:25 AM, Joshua J. Kugler > <[email protected]> wrote: >> > I'm trying to convert an SVG file with rsvg-convert. Doing >> > svg->png it works OK, sitting there at 100% CPU for a couple >> > minutes, and uses 100-200MB of memory. However, when I try to >> > convert to PS or PDF, memory usage starts growing without bound >> > (1500+MB, and more), system starts swapping, and it gets ugly in a >> > hurry. Finally have to kill it. I'm pretty sure it's a problem with >> > the library as both rsvg-convert and inkscape exhibit this >> > behavior. Is this a known issue? I'll try to assemble a test >> > file, as the one it's blowing up on has some personally >> > identifiable information in it. :) > > > -- > Joshua Kugler > Part-Time System Admin/Programmer > http://www.eeinternet.com > PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A > -- "I like to pay taxes. With them, I buy civilization." -- Oliver Wendell Holmes ------------------------------------------------------------------------------ _______________________________________________ Librsvg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/librsvg-devel