Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.6_P01
-
Fix Version/s: 5.1.2
-
Component/s: Viewer RI
-
Labels:None
-
Environment:any
-
Support Case References:Support Case #12861 - https://icesoft.my.salesforce.com/5007000000cc823
Description
A customer has reported that the thumbnails page view can flicker and has attached a sample document. I've seen this issue from time to time and think is related to to the fact we don't lock the Reference object when the page is visible. As a result the JVM is free to garbage collect the image.
We should look at which type of Reference we are using (soft or weak) and consider locking the thumbnail if the image is visible.
The effect is easier to see when the main page view is zoomed in making for a very large back buffer which will cause the low memory circumstances.
Sample files
\\iceads1\support\PDF\SupportCaseFiles\Case12861
We should look at which type of Reference we are using (soft or weak) and consider locking the thumbnail if the image is visible.
The effect is easier to see when the main page view is zoomed in making for a very large back buffer which will cause the low memory circumstances.
Sample files
\\iceads1\support\PDF\SupportCaseFiles\Case12861
The PDF in question uses an lot of memory to display all pages. The image optimization in 5.1 help with the flickering but they are still there if the heap size is minimal. Will take another look at this in the next release.