iOS Out of Memory Issue

i recently got a iOS NSMallocException crash which is Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save.

Thread 0 name:  com.apple.main-thread

CoreFoundation    ___exceptionPreprocess (in CoreFoundation)

libobjc.A.dylib    _objc_exception_throw (in libobjc.A.dylib)

CoreFoundation    __CFRaiseMemoryException (in CoreFoundation)

CoreFoundation    ___CFStringHandleOutOfMemory (in CoreFoundation)

CoreFoundation    ___CFStringChangeSizeMultiple (in CoreFoundation)

CoreFoundation    _CFStringAppend (in CoreFoundation)

CoreFoundation    __CFURLComponentsCopyString (in CoreFoundation)

CoreFoundation    __CFURLComponentsCopyURLRelativeToURL (in CoreFoundation)

Foundation    -[__NSConcreteURLComponents URL] (in Foundation)

Foundation    -[NSURL(NSURL) initWithString:relativeToURL:encodingInvalidCharacters:] (in Foundation)

Foundation    +[NSURL(NSURL) URLWithString:relativeToURL:] (in Foundation)

Falo    -[FaloDuanXinController tableView:cellForRowAtIndexPath:] (in Falo:FaloDuanXinController.m:415)

UIKitCore    -[_UIFilteredDataSource tableView:cellForRowAtIndexPath:] (in UIKitCore)

UIKitCore    -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] (in UIKitCore)

UIKitCore    -[UITableView _updateVisibleCellsForRanges:createIfNecessary:] (in UIKitCore)

UIKitCore    -[UITableView _updateVisibleCellsNow:] (in UIKitCore)

UIKitCore    -[UITableView layoutSubviews] (in UIKitCore)

UIKitCore    -[UIView(CALayerDelegate) layoutSublayersOfLayer:] (in UIKitCore)

QuartzCore    CA::Layer::layout_if_needed(CA::Transaction*) (in QuartzCore)

QuartzCore    CA::Layer::layout_and_display_if_needed(CA::Transaction*) (in QuartzCore)

QuartzCore    CA::Context::commit_transaction(CA::Transaction*, double, double*) (in QuartzCore)

QuartzCore    CA::Transaction::commit() (in QuartzCore)

QuartzCore    CA::Transaction::flush_as_runloop_observer(bool) (in QuartzCore)

UIKitCore    __UIApplicationFlushCATransaction (in UIKitCore)

UIKitCore    __UIUpdateSequenceRun (in UIKitCore)

UIKitCore    _schedulerStepScheduledMainSection (in UIKitCore)

UIKitCore    _runloopSourceCallback (in UIKitCore)

CoreFoundation    ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (in CoreFoundation)

CoreFoundation    ___CFRunLoopDoSource0 (in CoreFoundation)

CoreFoundation    ___CFRunLoopDoSources0 (in CoreFoundation)

CoreFoundation    ___CFRunLoopRun (in CoreFoundation)

CoreFoundation    _CFRunLoopRunSpecific (in CoreFoundation)

GraphicsServices    _GSEventRunModal (in GraphicsServices)

UIKitCore    -[UIApplication _run] (in UIKitCore)

UIKitCore    _UIApplicationMain (in UIKitCore)

Falo    main (in Falo:main.m:11)

dyld    start (in dyld)

and it crashed at

[cell.touxiangImageView sd_setImageWithURL:[NSURL URLWithString:kSmallImageUrl(self.user.image_url)]];

kSmallImageUrl just for getting a right URL of the user avatar

#define kSmallImageUrl(url) ([url hasPrefix:@"http"]) ? url : [NSString stringWithFormat:@"%@%@?x-oss-process=image/resize,w_200,h_200",FALO_CDN_URL,url]

And the used memory we caught on the third party SDK shows the memory not really high when crashed like around 150MB

I guess its not a memory leak but might be memory suddenly increases in a short time.

I would appreciate if you have any idea about why this crash happened.

1

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật