infinite.parallel().sequential().iterator() -> OOM

Dmitry Bessonov dmitry.bessonov at oracle.com
Mon Dec 24 09:00:48 PST 2012


Hello,

Here's an issue similar to the one reported recently. For example:

  Streams.repeat("a").parallel().sequential().iterator();

on b69 leads to something like

Exception in thread "ForkJoinPool.commonPool-worker-7" Exception in 
thread "ForkJoinPool.commonPool-worker-3" Exception in thread 
"ForkJoinPool.commonPool-worker-1" Exception in thread 
"ForkJoinPool.commonPool-worker-3" java.lang.OutOfMemoryError: Java heap 
space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space


-Dmitry


More information about the lambda-dev mailing list