Changeset 13263 in josm


Ignore:
Timestamp:
2017-12-30T14:36:05+01:00 (4 months ago)
Author:
Don-vip
Message:

see #15709 - fix a major memory leak where the first created ListenerList were instance of ListenerList.TracingListenerList, which keeps a reference to removed listeners, due to bad logging configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Logging.java

    r12931 r13263  
    8484
    8585        LOGGER.addHandler(WARNINGS);
     86        // Set log level to info, otherwise the first ListenerList created will be for debugging purposes and create memory leaks
     87        Logging.setLogLevel(Logging.LEVEL_INFO);
    8688    }
    8789
Note: See TracChangeset for help on using the changeset viewer.