You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2022/12/07 18:28:00 UTC
[jira] [Closed] (SIS-556) Memory leak in tile cache
[ https://issues.apache.org/jira/browse/SIS-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux closed SIS-556.
-----------------------------------
> 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.1, 1.2
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Priority: Critical
> 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)