GoldRaccoon
GoldRaccoon copied to clipboard
Memory pressure while downloading a large size file using GoldRaccoon
I use GoldRaccoon as my 3rd ftp library. When I download large size (> 500MB) file, my app will crash in memory pressure. The snapshot as below that using instrument to detect the memory allocations in my app. How do I handle these allocation when getting low memory warning ??
Agree, this happens because the downloaded data is not written to the disk chunk by chunk, but stored in the memory instead.