[cairo-bugs] [Bug 16481] New: Memory Leak When Converting Large SVG Files to PNG/PDF

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 23 09:58:32 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16481

           Summary: Memory Leak When Converting Large SVG Files to PNG/PDF
           Product: cairo
           Version: 1.6.4
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: high
         Component: svg backend
        AssignedTo: emmanuel.pacaud at lapp.in2p3.fr
        ReportedBy: amit.uttam at gmail.com
         QAContact: cairo-bugs at cairographics.org


*******
Summary
*******

I have a large PDF file from autocad that I imported into inkscape. After some
editing I saved the file as an SVG. However, saving this as a PDF file causes
extreme slow down to the OS. After some testing, I realized that the main cause
was the memory leak. There was huge amounts of disk swapping going on.

***********
Other Notes
***********

 * I tried using other programs that use the cairo graphics library to convert
the svg to pdf/png and I get the same memory leak issue described above.
  - Used rsvg-convert v. 2.22.2
  - Used pdf2svg v. 0.2.1 (http://www.cityinthesky.co.uk/pdf2svg.html)

 * The memory leak eats up most of the CPU cycles and all the RAM. It also eats
up around 1.5GB of swap until I killed it manually.

 * Machine specs
  - Debian Etch
  - Linux debian 2.6.18-6-686 #1 SMP Fri Jun 6 22:22:11 UTC 2008 i686 GNU/Linux
  - Intel Pentium D 3.40GHz
  - 1GB RAM
  - 2.5GB Swap

 * Version of software (all compiled from source)
  - cairo-1.6.4
  - cairomm-1.6.0
  - inkscape 0.46
  - pixman-0.11.4


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list