hi all ... i want to know whether anyone has an idea how download accelerator works... I m tryin to implement a downloading tool ... but what i have noticed in all these downloading manager is that they dont store the incoming data in a byte buffer... instead writing it to a temperory file...
i want to know how it is possible... the problem i am facing is that ..
i get the size of the data i want to download and allocate the buffer according to the size... the thing work quite fine...
but the problem comes when the size of the file is large say around 70 to 80 Mb. .. Since i am declaring a byte buffer of 80 mb size... its making me looose my ram memory until the file downloading finishes... that is the problem .....and sometime the computer go low in virtual memory toooo...
so if anyone has an idea of how to over come this problem .. and also any idea on how the download manager do so ... please give me suggestions...
thanks in advance
i want to know how it is possible... the problem i am facing is that ..
i get the size of the data i want to download and allocate the buffer according to the size... the thing work quite fine...
but the problem comes when the size of the file is large say around 70 to 80 Mb. .. Since i am declaring a byte buffer of 80 mb size... its making me looose my ram memory until the file downloading finishes... that is the problem .....and sometime the computer go low in virtual memory toooo...
so if anyone has an idea of how to over come this problem .. and also any idea on how the download manager do so ... please give me suggestions...
thanks in advance