[ 
https://issues.apache.org/jira/browse/DAFFODIL-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18013789#comment-18013789
 ] 

Steve Lawrence commented on DAFFODIL-3030:
------------------------------------------

I did some very brief profiling and saw an overwhelming number of Xerces 
objects. This might be related to DAFFODIL-2901 and how the TDML runner 
creating excessive validators. And maybe the changes to the validation API are 
making the situation worse than it used to be?

Would it be possible to switch the project to limited validation and see if the 
memory issue goes away? Maybe the expected validationErrors are similar enough 
that the TDML tests do not need significant changes? If the memory goes away, 
that would at least confirm if this is something related to full validation and 
possiblt the TDML runner doing things inefficiently.

> Investigate increased memory usage
> ----------------------------------
>
>                 Key: DAFFODIL-3030
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-3030
>             Project: Daffodil
>          Issue Type: Bug
>            Reporter: Josh Adams
>            Priority: Major
>             Fix For: 4.0.0
>
>
> I'm seeing a significant increase in memory required for a particular DFDL 
> schema project (P8).  Prior to 4.0.0 the test suite (running "sbt test") 
> required around 10GB of heap space to complete.  After 4.0.0 it needs over 
> 20GB.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to