Details
-
Bug
-
Status: Resolved
-
Highest
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
6757
Description
When I try to create SchemaContext including 500 complicated models (8 MB of yang sources), SchemaContext instance occupies 1.6 GB of memory. Profiling has shown, that one of the causes could be large number of duplicated objects - probably EnumMaps in class SubstatementContext.
Would it be possible to somehow optimize it?
Attachments
Issue Links
- blocks
-
NETCONF-256 excessive memory consumption when mounting devices
- Resolved
-
YANGTOOLS-692 Parser: duplicate ModelDefinedStatementDefinitions
-
- Resolved
-
-
YANGTOOLS-693 Parser: duplicate TypeStatementImpl objects
-
- Resolved
-