Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java exception during Resave Dataset #113

Open
pawlowska opened this issue May 10, 2022 · 0 comments
Open

java exception during Resave Dataset #113

pawlowska opened this issue May 10, 2022 · 0 comments

Comments

@pawlowska
Copy link

I have a 2-channel dataset stitched with Bigstitcher and saved as xml/hdf5. I need to extract 1 channel for further processing, so I tried Resave Dataset -> As TIFF... . I get asked if I really want only one 'view' and if I agree to saving current state of XML. No files get created and a java exception happens.

I subsequently tried Resave Dataset -> HDF5 for only 1 channel and this doesn't crash.

Console output:
Exception in thread "Thread-14" java.lang.OutOfMemoryError: Java heap space at net.imglib2.img.basictypeaccess.array.AbstractShortArray.<init>(AbstractShortArray.java:50) at net.imglib2.img.basictypeaccess.array.ShortArray.<init>(ShortArray.java:48) at net.imglib2.img.basictypeaccess.array.ShortArray.createArray(ShortArray.java:59) at net.imglib2.img.basictypeaccess.array.ShortArray.createArray(ShortArray.java:42) at net.imglib2.img.cell.CellImgFactory.create(CellImgFactory.java:146) at net.imglib2.img.cell.CellImgFactory.create(CellImgFactory.java:103) at bdv.img.hdf5.Hdf5ImageLoader$SetupImgLoader.loadImageCompletely(Hdf5ImageLoader.java:423) at bdv.img.hdf5.Hdf5ImageLoader$SetupImgLoader.getImage(Hdf5ImageLoader.java:478) at bdv.AbstractViewerSetupImgLoader.getImage(AbstractViewerSetupImgLoader.java:62) at net.preibisch.mvrecon.fiji.plugin.resave.Resave_TIFF.writeTIFF(Resave_TIFF.java:241) at net.preibisch.mvrecon.fiji.spimdata.explorer.popup.ResavePopup$MyActionListener$1.run(ResavePopup.java:213) at java.lang.Thread.run(Thread.java:748)

Log output:
Using spimdata version: 0.9-revision Using multiview-reconstruction version: 0.11.5 angles selected: 0 channels selected: 0, 1 illuminations selected: 0 tiles selected: 0 Timepoints selected: 0 Only one tile, starting in MultiView mode. Resaving 1 views As TIFF ... Saving 1 of 2 views. Saved XML 'T:/2021_s/s186_stitched_1/s186_P-f0.xml'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant