Description
When attempting to measure the performance of unparsing thousands of messages, the following error occurs:
Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:713)
at scala.xml.pull.XMLEventReader.<init>(XMLEventReader.scala:45)
at edu.illinois.ncsa.daffodil.Main$$anonfun$79.apply(Main.scala:792)
at edu.illinois.ncsa.daffodil.Main$$anonfun$79.apply(Main.scala:785)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.Range.foreach(Range.scala:141)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at edu.illinois.ncsa.daffodil.Main$.run(Main.scala:785)
at edu.illinois.ncsa.daffodil.Main$.main(Main.scala:1104)
at edu.illinois.ncsa.daffodil.Main.main(Main.scala)
when attempting to kill the process with Ctrl-C, the following is output:
OpenJDK 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGINT to handler- the VM may need to be forcibly terminated
Gliffy Diagrams
Attachments
Issue Links
- duplicates
-
DFDL-1497 Thread leak in co-routines used by unparser
-
- Closed
-