Can anybody tell how to handle large files without much memory usage. I tried using input stream, but it takes a lot of time. For 1Mb, it takes more than 40 minutes. Can anybody suggest better way to solve this problem.