You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2022/08/22 17:20:00 UTC

[jira] [Created] (SIS-556) Memory leak in tile cache

Martin Desruisseaux created SIS-556:
---------------------------------------

             Summary: Memory leak in tile cache
                 Key: SIS-556
                 URL: https://issues.apache.org/jira/browse/SIS-556
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Coverage, Utilities
    Affects Versions: 1.2, 1.1
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 1.3


When lot of {{ComputedImage}} are created (for example when ressampling a lot of images), some tiles consumed by the images may never be reclaimed by the garbage collector. The root cause is in the {{org.apache.sis.util.collection.Cache}} class, but this bug manifests only with {{org.apache.sis.image.TileCache}} (not with the other usages of {{Cache}} in SIS) because it happens only when a {{Cache.remove(…)}} method is explicitly invoked (instead of relying on automatic removal after garbage collection).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)