If you're injecting the file data into your component as a byte[] then of course it needs to load the entire file into memory (which kind of defeats the purpose of using a temporary file). I recommend using an InputStream instead, then you can deal with the file data in smaller chunks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085814#4085814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085814 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
