[jira] [Commented] (BATIK-1277) Some SVG causes OOM error and eventually crashes the running process.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (BATIK-1277) Some SVG causes OOM error and eventually crashes the running process.

Carte Project (Jira)

    [ https://issues.apache.org/jira/browse/BATIK-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022911#comment-17022911 ]

Ritwik Srivastava commented on BATIK-1277:
------------------------------------------

I tried to debug the values being passed at at org.apache.batik.bridge.SVGClipPathElementBridge.createClip(SVGClipPathElementBridge.java:158)
I found out this:
{quote}"new Area(outline)" (id=75)
cachedBounds null
curves Vector (id=77)
capacityIncrement 0
elementCount 3
elementData Object[10] (id=85)
[0] Order0 (id=87)
direction 1
x 291.0
y 284.0
[1] Order1 (id=90)
direction 1
x0 291.0
x1 291.0
xmax 291.0
xmin 291.0
y0 284.0
y1 6252.0
[2] Order1 (id=92)
direction -1
x0 6259.0
x1 6259.0
xmax 6259.0
xmin 6259.0
y0 284.0
y1 6252.0
[3] null
[4] null
[5] null
[6] null
[7] null
[8] null
[9] null
modCount 3
{quote}
Any idea if there is something wrong with this values?

 

cc [~[hidden email]] [~[hidden email]]

> Some SVG causes OOM error and eventually crashes the running process.
> ---------------------------------------------------------------------
>
>                 Key: BATIK-1277
>                 URL: https://issues.apache.org/jira/browse/BATIK-1277
>             Project: Batik
>          Issue Type: Bug
>          Components: SVG Rasterizer
>    Affects Versions: 1.6.1
>            Reporter: Ritwik Srivastava
>            Priority: Blocker
>              Labels: batik, svg
>         Attachments: TD1.zip, test.svg
>
>
> There is a SVG that when processed with batik Took ~15 minutes and the fail with Out Of Memory Error and eventually crashes the process. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]