Details
-
Type: Improvement
-
Status: Closed
-
Priority: Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.2
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:Embedded ICEpdf component in a large application
-
Assignee Priority:P1
-
ICEsoft Forum Reference:
Description
We have had a couple requests for the ability to set the max memory limit of the library. Currently we use Runtime.getRuntime().maxMemory(); which is ok for the standalone Viewer RI but not so great when you use the viewer component in a larger application and want to limit the amount of memory ICEpdf uses.
Simple to address, create a new system property org.icepdf.core.maxMemory and use Runtime.getRuntime().maxMemory(); as a default value.
Simple to address, create a new system property org.icepdf.core.maxMemory and use Runtime.getRuntime().maxMemory(); as a default value.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Component/s | Core [ 10022 ] | |
Fix Version/s | 4.2 [ 10243 ] | |
Priority | Major [ 3 ] | Trivial [ 5 ] |
Patrick Corless
made changes -
Salesforce Case | [] | |
Assignee Priority | P1 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23984 | Fri Feb 18 12:39:31 MST 2011 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/util/MemoryManager.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/PageViewComponentImpl.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Resources.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Form.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/Library.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Stream.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Should note that these changes should be made to the MemoryManager Class.