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)

geoimage.patch (26.6 KB) - added by jttt 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by jttt

  • Owner changed from team to jttt

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.

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.