Hi, Server info : 1. IIS websever with sevexec engine or 2. Tomcat , apache combination The network connection was lost during uploading a file of size more than 64 kb and trying to redirect or forward without reading the data in the Http request (multipart form / post data). The fix i tried was skipping of the whole data in the request using request.getInputStream( ).skip(request.getContentLength( )); It worked fine. Solution 1 : The problem is if multiple users tried to upload files in say 5MB each , then the internal implementation of skip allocates that number of MB into multiple of 5 MB, so out of memory would occur, since the skip ( ) tries to read and dump data onto the byte array. which is a overhead. Solution 2. : I can read the request data onto a byte variable , so that at a time only one byte of memory is allocated but, server the will have to be busy reading each and every byte, which is not a fair thing, since instead of waisting time in reding byte by byte for some MBs of data, it would be nice to cut the network connection.. Is there any other alternative other than the above two solutions Thanks in advance Suresh.