Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Any
Description
As of the 1.7.1 release, we were keeping in memory all instances of DOMContext after serving the client. It isn't necessary to keep these objects in memory after the response. Removing them would bring significant memory savings. For example, Auction Monitor creates 82 DOMContext objects per client (50 after ICE-3321), which take ~13k of memory in total (~8k after ICE-3321).
Issue Links
- blocks
-
ICE-3083 Memory performance/efficiency
- Open
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17348 | Tue Aug 12 17:33:53 MDT 2008 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
|
Arturo Zambrano
created issue -
Arturo Zambrano
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Arturo Zambrano
made changes -
Summary | Instances of DOMContext need to be cleared after the response | Performance: instances of DOMContext need to be cleared after the response |
Ken Fyten
made changes -
Fix Version/s | 1.7.2 [ 10130 ] |
Arturo Zambrano
made changes -
Summary | Performance: instances of DOMContext need to be cleared after the response | Memory: instances of DOMContext need to be cleared after the response |
Ken Fyten
made changes -
Fix Version/s | 1.7.2RC1 [ 10140 ] | |
Fix Version/s | 1.7.2 [ 10130 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8DR#1 [ 10141 ] | |
Fix Version/s | 1.7.2RC1 [ 10140 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Arturo Zambrano [ artzambrano ] |
This was fixed by adding 'domContexts.clear();' to the endDocument() method of DOMResponseWriter.
public void endDocument() throws IOException {
{ enhanceAndFixDocument(); serializer.serialize(document); }+ domContexts.clear();
if (!isStreamWriting())
}
Committed to revision 17348.