Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 4.0.1
-
Fix Version/s: 5.0
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:windows xp, jdk 1.5
-
ICEsoft Forum Reference:
Description
I have a reasonably sized pdf file at http://www.localhappeningsmagazine.com/20100410APR-MAYFlipbook/April.May_all_pages.pdf
I am trying to convert this pdf file to image using document.getPageImage() API. At page 43 of pdf, it simply hangs indefinitely.
Is there a way to know what is causing it?
Should there be a configurable timeout option so it doesnt hang forever.
The code is here: http://www.icefaces.org/JForum/posts/list/17077.page#63300
Thanks
I am trying to convert this pdf file to image using document.getPageImage() API. At page 43 of pdf, it simply hangs indefinitely.
Is there a way to know what is causing it?
Should there be a configurable timeout option so it doesnt hang forever.
The code is here: http://www.icefaces.org/JForum/posts/list/17077.page#63300
Thanks
Activity
Sandeep M
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | Pdf 2 image convertor hangs indefinitely | Out of memory error when converting large GeometricPath to an Area |
ICEsoft Forum Reference | http://www.icefaces.org/JForum/posts/list/0/17077.page | |
Salesforce Case | [] | |
Component/s | Core [ 10022 ] |
Patrick Corless
made changes -
Salesforce Case | [] | |
Fix Version/s | 5.0 [ 10314 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Page 44 of the document in question has a few very complicated geometric paths containing more then 6000 points. For some reason Java runs out of memory when converting the geometric path to an area. The complex geometric path is used to clip graphics on the page which give a cut out effect.
Some time will have to spent to further understand why Java geom is having problems with this many data sets or type. It might be possible to divide the geometric shape in to smaller area's and then do an intersect of the areas and thus avoid the bottle neck of doing them all at once.