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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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 |