CellProfiler/subimager — Issue #3: Subimager crash after loading series of images (order doesn't matter)
Author: thouis
Created: 2012-01-21 13:04:03+00:00
State: open

The attached script and images crash at around the 22nd image loaded on my machine with this traceback:

Exception in thread "pool-1-thread-1" java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.(HeapByteBuffer.java:39)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
at sun.net.httpserver.Request$WriteStream.write(Request.java:386)
at sun.net.httpserver.FixedLengthOutputStream.write(FixedLengthOutputStream.java:60)
at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
at sun.net.httpserver.PlaceholderOutputStream.write(ExchangeImpl.java:370)
at org.cellprofiler.subimager.ImageReaderHandler.handle(ImageReaderHandler.java:153)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:554)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:526)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

Attachments:
http://cellprofiler.org/issues/uploaded/x2N0cV/subimager.memory.crash.zip