Most of OTB applications crash with JP2 image as input
Mantis Issue 897, reported by mgrizonnet, assigned to mgrizonnet, created: 2014-03-03
using the Monteverdi2 standalone installer (2.0.6) most of applications failed as startup with the same error message (return code -1):
... "itkImportImageContainer.txx:188:" "Failed to allocate memory for image"
Noticed this with :
- Convert application
- LSMS mean shift filtering
It seems to happens only when I use .JP2 as input.
The issue was reported by a Windows user on a Windows 7 64b platform with 8Gb RAM. I am able to reproduce the issue on Windows XP.
I am also able to reproduce the issue with the Pleiades dataset on Las Vegas (PMS) available in LargeInput repository.
Step to reproduce:
- Start Monteverdi2 (with an empty cache directory)
- Load tile IMG_R1C1.JP2 from LAS_VEGAS dataset
- Launch image conversion application with default parameters
PS: also reproduce with RTU Pleiades dataset on Aurignac (MS product)
1394030512 - grizonnetmFYI I could not procide any other debug info for this issue as I can't install developement kit on my system.
1394031371 - julienmI just reinstalled the installer on a windows 7 platform with 8 Gb of RAM. I don't reproduce the issue, the conversion is in progress.
Monteverdi2 consume around 800 GB of RAM.
1394031543 - julienmis the original bug reproduced from a clean startup of monteverdi2 application ?
1394031626 - julienmAlso is is a really a crash (in which case it does need a fix) ? Or does the application gracefully outputs the "out of memory" error message, and let the user do other stuff after that ?
1394032545 - grizonnetmWhat do you mean by clean startup of monteverdi2 application?
What I've done -> I've cleared my Monteverdi2 cache directory and restart the application.
Indeed it is not a crash (I've changed the severity to major)
and indeed, the error message let the user do other stuff (that is to say close Monteverdi2 as it is currently