title: Memory leak in Flux, but where?
body: <p>My application consists of a rather complex system of <code>Flux</code> and <code>Mono</code> chains.
  When running the program I can detect a memory leak using VisualVM.</p>
  
  <p>The problem is that, allthough I can clearly see which instances are causing the memory issues, the reference tree of these instances, due to the nature of the reactive code, is pretty much opaque to me. See the screenshot below.</p>
  
  <p><a href="https://i.stack.imgur.com/WSwt1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WSwt1.png" alt="Screenshot of reference tree in VisualVM"></a></p>
  
  <p>So my question is: Is there a way to read this tree? Can I tell where the memory leak is occuring, or at least in which operator?</p>
  
  <p>As the reference tree mentions a <code>PublishOnSubscriber</code> I removed all instances where I explicitly called <code>.publishOn</code>, but without success.</p>