Modify ↓
Opened 4 years ago
Closed 4 years ago
#2674 closed defect (fixed)
[PATCH] Memory-Consumption when viewing imported JPGs
| Reported by: | anonymous | Owned by: | jttt |
|---|---|---|---|
| Priority: | minor | Component: | Core |
| Version: | tested | Keywords: | |
| Cc: |
Description
Everytime I open a imported JPG, the memory consumption of the javaw.exe process increases by some MBs but it won't decrease when closing the picture. Viewing pictures repeatedly therefore leads to an "out of memory"-crash.
Attachments (1)
Change History (4)
comment:1 Changed 4 years ago by jttt
- Owner changed from team to jttt
Changed 4 years ago by jttt
comment:2 Changed 4 years ago by jttt
- Summary changed from Memory-Consumption when viewing imported JPGs to [PATCH] Memory-Consumption when viewing imported JPGs
Attached is patch, that fixes this bug.
In addition, patch contains following:
- fix for #765
- cosmetic image selecting bug (icon not beveled sometimes)
- asynchronous loading of icons - user can start working before all images are loaded
- image caching (using SoftReference, so no memory leaks)
comment:3 Changed 4 years ago by stoecker
- Resolution set to fixed
- Status changed from new to closed
In r1704.
Note: See
TracTickets for help on using
tickets.



I can confirm that. New dialog is created in GeoImageLayer every time image is shown but the dialog is never released.
I can provide patch but I don't have time for that today.