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