I have written a client/server program which involves transfers of large files (100 MB+).
There is nothing wrong with the program (in the sense that it successfully transfers the files) but the CPU seems to be throttling at 100% whenever the receiving side is retrieving the file. I have written a similar program in .NET and it does not have the same problem. It is because of the way I write the program or is it the way java handles io. I have used stream based io (java.io package). Can anyone explain this ? Thank You in advance!