http download large file to symbian device
Hi
These example seem to save incomplete files due to memory full on my N8 and E6. I have plenty of disk (16GB) and RAM (128 MB).
1. [url]http://www.developer.nokia.com/Community/Wiki/Creating_an_HTTP_network_request_in_Qt_using_QNetworkAccessManager,_QNetworkRequest,_QNetworkReply[/url]
2. [url]http://qt-project.org/doc/qt-4.8/network-http-httpwindow-cpp.html[/url]
The problem seems to be in WRITING the available bytes, eg: file->write(reply->readAll());
Content length is correctly set by the apache server..
What are others doing? Are there known Belle issues with QT when writing large files (100MB say) to disk via http?
Re: http download large file to symbian device
I found i needed this in my .pro file
symbian: {
TARGET.EPOCHEAPSIZE = 0x200000 0x2000000
}
this sets the min and max heap size.