You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2005/08/11 19:36:54 UTC

[jira] Created: (XERCESC-1475) Make DOM heap allocation sizes configurable

Make DOM heap allocation sizes configurable
-------------------------------------------

         Key: XERCESC-1475
         URL: http://issues.apache.org/jira/browse/XERCESC-1475
     Project: Xerces-C++
        Type: Improvement
  Components: DOM  
    Versions: 2.6.0    
    Reporter: Scott Cantor


Right now, the DOM document heap allocator has fixed values of 64k and 4k for the chunk allocation and suballocation limits, respectively, in DOMDocumentImpl.cpp

It would be nice if the application could configure those values somehow for its usage patterns. They can be changed now only by recompiling, which is hard if you're distributing an application in source form.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Assigned: (XERCESC-1475) Make DOM heap allocation sizes configurable

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1475?page=all ]

Alberto Massari reassigned XERCESC-1475:
----------------------------------------

    Assign To: Alberto Massari

> Make DOM heap allocation sizes configurable
> -------------------------------------------
>
>          Key: XERCESC-1475
>          URL: http://issues.apache.org/jira/browse/XERCESC-1475
>      Project: Xerces-C++
>         Type: Improvement
>   Components: DOM
>     Versions: 2.6.0
>     Reporter: Scott Cantor
>     Assignee: Alberto Massari

>
> Right now, the DOM document heap allocator has fixed values of 64k and 4k for the chunk allocation and suballocation limits, respectively, in DOMDocumentImpl.cpp
> It would be nice if the application could configure those values somehow for its usage patterns. They can be changed now only by recompiling, which is hard if you're distributing an application in source form.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (XERCESC-1475) Make DOM heap allocation sizes configurable

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1475?page=all ]
     
Alberto Massari resolved XERCESC-1475:
--------------------------------------

    Resolution: Fixed

The DOMDocument objects in the 3.0 branch now can be queried for the "DOMMemoryManager" feature that exposes the size of the memory chunks; by default, it will start from 8Kb and doubles at every allocated chunk until it reaches the 64Kb value

> Make DOM heap allocation sizes configurable
> -------------------------------------------
>
>          Key: XERCESC-1475
>          URL: http://issues.apache.org/jira/browse/XERCESC-1475
>      Project: Xerces-C++
>         Type: Improvement
>   Components: DOM
>     Versions: 2.6.0
>     Reporter: Scott Cantor
>     Assignee: Alberto Massari

>
> Right now, the DOM document heap allocator has fixed values of 64k and 4k for the chunk allocation and suballocation limits, respectively, in DOMDocumentImpl.cpp
> It would be nice if the application could configure those values somehow for its usage patterns. They can be changed now only by recompiling, which is hard if you're distributing an application in source form.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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