gvSIG bugs #1664

Memory leak loading raster layers in the layout

Added by Ignacio Brodín about 11 years ago. Updated about 10 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:Ignacio Brodín
Category:Document layout
Target version:-
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build: Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

Load a big raster layer in a view
Select A0 size in a new layout
Add the view to the layout
We can view that the memory spending increases. (A great amount of int arrays are loaded)
If we remove the view from the layot, this memory is not released

org.gvsig.raster.patch Magnifier (12.1 KB) Ignacio Brodín, 03/14/2013 05:42 PM

org.gvsig.app.document.layout.app_patch.txt Magnifier (4.64 KB) Juan Lucas Domínguez, 04/09/2013 11:50 AM

History

#1 Updated by Ignacio Brodín about 11 years ago

It seems that there is memory without releases when gvSIG draws a raster layer. Moreover the layout does not releases memory. Arrays of integers are keept in memory forever.

The first step is solved the raster problems. I attach the patch.

#3 Updated by Juan Lucas Domínguez about 11 years ago

Fixed some memory leaks in the layout plugin (added patch "org.gvsig.app.document.layout.app_patch.txt", must be applied to workspace, not to a project)

#4 Updated by Ignacio Brodín about 11 years ago

  • Status changed from New to Fixed

#5 Updated by Álvaro Anguix about 10 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF