Ticket #162 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Out of memory error not handled while exporting

Reported by: harri Owned by: harri
Priority: critical Milestone: 0.5.0
Component: export Version: 0.5.0-rc1
Keywords: Cc:
Test Case Result:

Description

During exporting it is quite easy to get out-of-memory error. Currently it is not handled properly - Photovault just prints log message to console and exporting hangs without giving any proper notification via UI.

Change History

Changed 2 years ago by harri

  • status changed from new to closed
  • resolution set to fixed

Fixed in r745, merged to 0.5.x in r746.

Added error checing & reporting code for out of memory. Also changed the logic so that Photovault tries explicit gc after out of memory error. Java often tries only to release memory in young generations, but this may miss obvious large raster buffers that have been transferred to tenured area. See ¤164

Note: See TracTickets for help on using tickets.