[ 
https://issues.apache.org/jira/browse/XERCESC-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Cantor reopened XERCESC-1732:
-----------------------------------

> reducing allocation sizes in DOMDocumentImpl.cpp
> ------------------------------------------------
>
>                 Key: XERCESC-1732
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1732
>             Project: Xerces-C++
>          Issue Type: Improvement
>          Components: DOM
>    Affects Versions: 2.7.0
>         Environment: Debian gnu/Linux
>            Reporter: Jay Berkenbilt
>            Priority: Major
>         Attachments: allocation.patch
>
>
> The debian maintainer of the Shibboleth packages forwarded a patch to me 
> which I am attaching.  This patch decreases the  values of kHeapAllocSize and 
> kMaxSubAllocationSize in DOMDocumentImpl.cpp.  Evidently, decreasing the 
> chunk size here has significantly improved performance of shibboleth.  As far 
> as I can tell, no one has reported this here.  I see that this patch would 
> not apply cleanly to the file on the trunk, and it appears that this stuff 
> has already been tweaked for performance reasons, but perhaps someone can 
> evaluate whether this is a sensible patch.  The source of the path is someone 
> I consider reliable, so I'm going to go ahead and patch the debian version of 
> the packages.  (I am the debian maintainer for the xerces packages.)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to