Hi
Looks like there is a memory leak in org.jppf.client.balancer.queue.JPPFPriorityQueue class from jppf-client-4.2.8.jar.
JPPFPriorityQueue class has a field inherited from its parent AbstractJPPFQueue
protected final SetSortedMap<Integer, T> sizeMap = new SetSortedMap<>();
There are a few places in the class's code where values are put into this map. But I found only one place where values are removed, namely in JPPFPriorityQueue method
public ClientTaskBundle nextBundle(final ClientJob bundleWrapper, final int nbTasks)
So, as far as I understand (and as tests which ended up with OOM showed), sizeMap is not properly cleaned up when
public boolean cancelJob(final String jobId)
method is called.
Please confirm/disprove my suspection.
Thank you in advance.