New Issue Created #github #java

Pcp Integration <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>

[parfait:master] New Issue Created by ryandoyle ( https://github.com/ryandoyle ) :
#38 Resetting PcpMmvWriter does not clear all objects related to metrics ( https://github.com/performancecopilot/parfait/issues/38 )

Calling io.pcp.parfait.dxm.BasePcpWriter#reset clears metricData but there are several references held on to PcpMetricInfo s, InstanceDomain s, PcpString s and PcpValueInfo s ( PcpValueInfo s are cleared in metricData map but there is a reference held in the perMetricByteBuffers map).

Maps/arrays/stores are as follows: io.pcp.parfait.dxm.BasePcpWriter#metricInfoStore io.pcp.parfait.dxm.BasePcpWriter#instanceDomainStore io.pcp.parfait.dxm.PcpMmvWriter#stringInfo io.pcp.parfait.dxm.BasePcpWriter#perMetricByteBuffers These data structures should also be cleared out when #reset is called. I'm more just making a note of this at the moment. I noticed this when working on MMV v2 support but haven't tackled this object leak as part of that issue. The patch set is already fairly large.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.