Hi,
I'm using radaee premium license to develop Android app which has a searching function by keyword.
for (int i = 0; i < mDocument.GetPageCount(); i++) {
Page page = mDocument.GetPage(i);
page.ObjsStart();
Page.Finder m_finder = page.FindOpen(keyword, false, false);
for (int j = 0; j < m_finder.GetCount(); j++) {
//to do
}
m_finder.Close(); // I do this to prevent memory leak.
}
But when the number of page of a certain book goes beyond 300 pages (for example),
The application does the forced close due to memory issue.
What should I do more to prevent memory leak ??
Thanks in advance.