You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2010/11/30 19:20:50 UTC

DO NOT REPLY [Bug 50386] New: Transcoding an svg into JPEG leads to out of memory exception

https://issues.apache.org/bugzilla/show_bug.cgi?id=50386

           Summary: Transcoding an svg into JPEG leads to out of memory
                    exception
           Product: Batik
           Version: 1.8
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG Rasterizer
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: pramod.kumar@mathworks.com


Transcoding an svg file into JPEG causes a pike in memory usage and leads to
out of memory exceptions. Transcoding a small size image (1500 * 1500 pixels)
leads to a spike of 100 MB in the heap usage. This can sometimes cause memory
exception.

I have attached a code snippet to reproduce this.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 50386] Transcoding an svg into JPEG leads to out of memory exception

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50386

pramod.kumar@mathworks.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 50386] Transcoding an svg into JPEG leads to out of memory exception

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50386

pramod.kumar@mathworks.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 50386] Transcoding an svg into JPEG leads to out of memory exception

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50386

--- Comment #2 from pramod.kumar@mathworks.com 2010-11-30 13:23:19 EST ---
Created an attachment (id=26359)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26359)
code to reproduce the issue

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 50386] Transcoding an svg into JPEG leads to out of memory exception

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50386

--- Comment #1 from pramod.kumar@mathworks.com 2010-11-30 13:22:32 EST ---
Created an attachment (id=26358)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26358)
This is the svg file that I am trying to convert to JPEG.

This is the svg file that I am trying to convert to JPEG.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org