Real memory allocation issue
Opened this issue · 4 comments
egotextview allocating allot memory and not deallocating at all, please help me with this issue.
Solved half of my problem by deallocating some other objects, But still don't know why its allocating so much memory. Please help me :)
-
(void)dealloc {
[_mutableAttributedString release], _mutableAttributedString=nil;
[_markedTextStyle release], _markedTextStyle=nil;
[_tokenizer release], _tokenizer=nil;
[_textChecker release], _textChecker=nil;[_textContentView release], _textContentView=nil;
[_selectionView release], _selectionView=nil;[_attachmentViews removeAllObjects];
[_attachmentViews release], _attachmentViews=nil;_textWindow=nil;
[_font release], _font=nil;
[_attributedString release], _attributedString=nil;
[_caretView release], _caretView=nil;
self.menuItemActions=nil;
self.defaultAttributes=nil;
self.correctionAttributes=nil;
[super dealloc];
}
ARC....
ARC ?
I also meet the same question,it takes too much memory,anyone else solve the question?