Cant import folder ImageJ Error

I am trying to import a folder and an error continues to pop up. I have tried increasing the memory and downloading different versions of ImageJ

This is what shows in the console
Any help would be appreciated

Exception in thread "Image Fetcher 1" java.lang.OutOfMemoryError: Java heap space
	at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
	at java.awt.image.Raster.createPackedRaster(Raster.java:467)
	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
	at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:253)
	at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:559)
	at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:138)
	at sun.awt.image.JPEGImageDecoder.sendPixels(JPEGImageDecoder.java:119)
	at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
	at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:141)
	at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:269)
	at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:205)
	at sun.awt.image.ImageFetcher.run(ImageFetcher.java:169)
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
	at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
	at java.awt.image.Raster.createPackedRaster(Raster.java:467)
	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
	at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:253)
	at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:559)
	at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:138)
	at sun.awt.image.JPEGImageDecoder.sendPixels(JPEGImageDecoder.java:119)
	at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
	at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:141)
	at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:269)
	at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:205)
	at sun.awt.image.ImageFetcher.run(ImageFetcher.java:169)

Hi @nstachur,

What’s in the folder you are trying to open that gives you the problem?

1 Like