84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
如题,代码如下: NSData *fData = UIImageJPEGRepresentation(photo, 1.0);
本来单个也占不了多大的内存。但是我要做的是批量图片上传。 就单这行代码,内存急剧上升,处理几十张图片,就从几十升到几百MB了。 那么请问如何解决这个问题呢?
ringa_lee
1) Control the Buff threshold when reading into memory, split the task and do more IO several times... 2) Dedicated background thread processing tasks
1) Control the Buff threshold when reading into memory, split the task and do more IO several times...
2) Dedicated background thread processing tasks