Hi, With Memory Analyzer but also with Visual VM, problems suspect found:
The thread java.lang.Thread @ 0x783481d90 Camel (IF_CBIKIT-Inbound-Context) thread #28 - seda://processAndStoreInQueue keeps local variables with total size 54.615.096 (11,93%) byte 1.212 instances of "byte[]", loaded by "<system class loader>" occupy 167.709.528 (36,65%) bytes. (As you can said... your 20 MB file is taking up 40 MB as a String. The List will take up a little more than another 40 MB (so you will need 80 MB during the conversion). This lists lives throughout your split process...) 6 instances of "org.apache.activemq.command.ActiveMQObjectMessage", loaded by "org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5 @ 0x781b26308" occupy 104.612.744 (22,86%) bytes. This result obtained introducing lazyloat on csv. Do I need to change my route? Thanks a lot for your support. Regards Michele -- View this message in context: http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows-in-File-tp5779856p5781014.html Sent from the Camel - Users mailing list archive at Nabble.com.