Details
-
Bug
-
Status: Resolved
-
Highest
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
6964
Description
Analysis of a memory snapshot with vendor models shows we end up with a SchemaContext which weighs about 240MB. Further analysis of duplicate objects shows we have 27257 instances of ModelDefinedStatementDefinition, which have the same QName and same yinElement – and waste ~600kB. They are reachable via UnknownStatementImpl, hence some deduplication/sharing strategy is needed.
Attachments
Issue Links
- blocks
-
YANGTOOLS-601 Yin parser does not read arguments of unknown statements
- Resolved
- is blocked by
-
YANGTOOLS-660 SchemaContext - excessive memory consumption
-
- Resolved
-