GoldRaccoon icon indicating copy to clipboard operation
GoldRaccoon copied to clipboard

Memory pressure while downloading a large size file using GoldRaccoon

Open htaiwan opened this issue 9 years ago • 1 comments

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 ??

screen shot 2015-06-29 at 10 14 19 am

htaiwan avatar Jun 29 '15 03:06 htaiwan

Agree, this happens because the downloaded data is not written to the disk chunk by chunk, but stored in the memory instead.

ValentinKuznetsov avatar May 06 '16 18:05 ValentinKuznetsov