Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

#IssueNotes Decision
1Java Streams API for CPS and NCMPCPS-2146 Using Java Streams to reduce memory consumption in CPS and NCMP
2Investigate if ODL Yang Parser has a memory leakStudy TBA
3Remove Hazelcast from NCMP Module SyncImplementation proposal TBA
34Remove Hazelcast for Trust LevelImplementation proposal TBA
45Remove use of Postgres arrays in Respository methodsCPS-1574: Remove 32K limit from DB operations (Proposal 1)
56Replace Hibernate with JDBC (via Spring Data JDBC)Implementation proposal TBA
67Review memory use during UPDATE operationsStudy TBA

...

See CPS-2146 Using Java Streams to reduce memory consumption in CPS and NCMP for analysis & solution to reduce memory consumption during these operations.

OpenDaylight Yang Parser & YangTextSchemaSourceSetCache

It was previously suspected that the 3rd party OpenDaylight Yang Parser may have a memory leak. See comments on CPS-2000:

Jira
serverONAP Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-2000

While CPS has a cache called YangTextSchemaSourceSetCache to avoid invoking the OpenDaylight Yang Parser, the Yang Parser's internal cache may be causing a memory leak. This requires immediate investigation.

Hazelcast

The use of Hazelcast (an In-Memory Data Grid) has been identified as a particular source of high memory usage. Some points of interest:

...