Depending when it fails in the Virtual sensor loader (https://github.com/LSIR/gsn/blob/master/src/main/java/gsn/VSensorLoader.java#L196), the initialize method of wrapper may be called, but never the dispose method. If those are used for allocating and releasing resources, it may lead to memory leaks...
One such case is the monitoring.
Depending when it fails in the Virtual sensor loader (https://github.com/LSIR/gsn/blob/master/src/main/java/gsn/VSensorLoader.java#L196), the
initialize
method of wrapper may be called, but never thedispose
method. If those are used for allocating and releasing resources, it may lead to memory leaks... One such case is the monitoring.