The JDK14LoggerFactory keeps a reference to all created loggers. If the software creates the loggers dynamically, an out of memory will inevitably appear.
A map with weak references should be used instead.