Changeset 11021 in josm for trunk/src/org


Ignore:
Timestamp:
2016-09-18T15:56:38+02:00 (8 years ago)
Author:
Don-vip
Message:

clear image provider cache before/after integration tests. The previous Jenkins job heap dump revealed it contained 14.000 entries and consumed up to 3Gb of memory

File:
1 edited

Legend:

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

    r10895 r11021  
    766766
    767767    /**
     768     * Clears the internal image cache.
     769     * @since 11021
     770     */
     771    public static void clearCache() {
     772        synchronized (cache) {
     773            cache.clear();
     774        }
     775    }
     776
     777    /**
    768778     * Internal implementation of the image request.
    769779     *
Note: See TracChangeset for help on using the changeset viewer.