#113 PrimaryHost: Dispose of unwanted objects


So the Primary Host starts with a collection of blank GroupIDs, RemoteEdges, RemoteDevices, and Metrics.
on xBirth, it will assign these values.
It should be possible to dispose of these objects if they are no longer required.

GroupID => Explicitly by the end user
RemoteEdge => Explicitly by the end user
RemoteDevice => Explicitly by the end user
Metric => On xBIRTH, when the metric is no longer declared

Disposing a GroupID will recursively dispose of all children and so on.


  • i-campbell

    i-campbell - 2021-05-08
    • Milestone: SparkplugB Primary Node --> Full Feature Product (FFP)
  • i-campbell

    i-campbell - 2021-05-08

    Moved to
    The use case would be if you are running low on memory AND you happen to have removed enough devices that disposing of their objects will make a difference. This is a rare enough use case that restarting the application seems like a reasonable workaround, at least for the release.


Log in to post a comment.