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 "mahalakshmi (JIRA)" <xe...@xml.apache.org> on 2013/07/22 17:14:50 UTC

[jira] [Created] (XERCESC-2019) Error in memory allocation for even small messages.

mahalakshmi created XERCESC-2019:
------------------------------------

             Summary: Error in memory allocation for even small messages.
                 Key: XERCESC-2019
                 URL: https://issues.apache.org/jira/browse/XERCESC-2019
             Project: Xerces-C++
          Issue Type: Bug
          Components: DOM
    Affects Versions: 3.1.1
         Environment: windows XP vc9, linux and solaris
            Reporter: mahalakshmi
             Fix For: 3.1.1


I have my xsd schema using which i have created my standard xml.
After creating the xml i fill the values for each tag in my xml. 
I get memory allocation error when i try to traverse through the xml and set the values for each tag in my xml.
I get allocation error when my program calls the setTextcontent() of xerces.It is crashing in DOMDocumentImpl.cpp allocate(size).(2nd if condition in that function)

Is there any setting that needs to be done for memory allocation? How much is the maximum size of xml that xerces can parse?how do we manage the memory allocation and deallocation in DOM?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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