Java Applet hangs
Hi,i am new to java programming but currently on a project which is basically an applet.Our project is inspired from UltraVNC viewer whose main functionality is remote machine access.The issue that is raising its head in this project is,when we transfer a 100 MB file from client to server (from one machine to another),it gets transferred smoothly for the first time (though it takes 15 minutes).For the second time time too it goes well with another 100 MB file.But for the next transfer of 60 MB file,the applet hangs.We are not really able to know the cause.And to be honest I am not a novice programmer.Any help,suggestion would be greatly appreciated.Thanks in advance.
Look for a memory leak, or file handles that aren't released.
Java applet hangs
Sir,the logic used here is zip a file to be transferred from client to server or vice versa and to unzip it at the other end.is any problem there in these two functions?we have used a byte array -> byte buffer = new byte; is size of array a problem? or input/output streams a problem? thank u.