Modify

Opened 15 years ago

Closed 15 years ago

#2674 closed defect (fixed)

[PATCH] Memory-Consumption when viewing imported JPGs

Reported by: anonymous Owned by: jttt
Priority: minor Milestone:
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 15 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by jttt, 15 years ago

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.

by jttt, 15 years ago

Attachment: geoimage.patch added

comment:2 by jttt, 15 years ago

Summary: Memory-Consumption when viewing imported JPGs[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 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

In r1704.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jttt.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.