Menu

#219 View Large Image File Error

closed-fixed
5
2011-08-04
2007-01-17
Chi Jun Liu
No

View a large image file (over 2 mega bytes) will cause an 'out of memory exception'.

User clicks a large xena inmage file. It will open with default NAA Package View.

Then user selects Raw XML View and XML Tree View. Out of memory error occurs. And the system will not display both views, although the image is still in display.

User changes it back to NAA Package View. The image will disappear.

I have tried some image files between 1 to 3 mega bytes. It seems the file size over 2 meg will cause the error.

Please see screen dump attached. Due to the size limit of upload, there is only cmd.exe uploaded. I have more screen dumps in my H drive.

Discussion

  • John

    John - 2008-06-03

    out of memory when viewing small tif

     
  • John

    John - 2008-06-03

    Logged In: YES
    user_id=1606691
    Originator: NO

    I just tried to replicate this bug - when I tried to view some large tif files that were normalised, I was greeted with an invalid xml character error - &#0

    I tried viewing a small normalised tif file (26kb) and was greeted with an out of memory error

    Stack traces attached
    File Added: Outofmemory viewer tif.txt

     
  • John

    John - 2008-06-03

    Invalid xml character

     
  • John

    John - 2008-06-03

    Logged In: YES
    user_id=1606691
    Originator: NO

    Just adding the other file
    File Added: invalid xml char.txt

     
  • Michael Carden

    Michael Carden - 2008-06-12
    • assigned_to: mcarden --> jwaddell
     
  • Ian Little

    Ian Little - 2008-08-13

    Logged In: YES
    user_id=2125694
    Originator: NO

    1) normalised a 4.9Mb JPEG and it displayed without error.
    2) normalised a small TIFF and it was identified as "JPEG" but normalised and displayed correctly.
    3) crazed with power, I attempted to normalise an 11.3Mb TIFF.
    This was correctly identified, but the normalisation failed with:

    Normalisation failed for file:/D:/ssc2006-10b.tif: au.gov.naa.digipres.xena.kernel.XenaException: javax.media.jai.util.ImagingException: All factories fail for the operation "encode"

    Ian

     
  • Ian Little

    Ian Little - 2008-08-13
    • assigned_to: jwaddell --> mcarden
     
  • Michael Carden

    Michael Carden - 2010-04-08

    This is a very old bug report. Is it still an issue?

     
  • Michael Carden

    Michael Carden - 2010-04-08
    • assigned_to: mcarden --> jwaddell
     
  • Daniel Black

    Daniel Black - 2010-11-17
    • assigned_to: jwaddell --> matthewoliver
     
  • Michael Carden

    Michael Carden - 2011-07-29

    Please test to see if this remains an issue.

     
  • Michael Carden

    Michael Carden - 2011-07-29
    • labels: 547666 --> plugin-image
    • assigned_to: matthewoliver --> acunliffe
     
  • Allan Cunliffe

    Allan Cunliffe - 2011-08-04

    Tested in Xena Testing Branch (Date: Tue Aug 2 16:48:42 2011 +1000)

    Started Xena with no Java heap space declaration.
    Successfully normalised a 36 MB file.
    Can view default package view, raw XML and XML tree-view.

     
  • Allan Cunliffe

    Allan Cunliffe - 2011-08-04
    • status: open --> closed-fixed
     

Log in to post a comment.