You Are Here:

Community: Developer Discussion Boards

#1 Old problem when displaying a lot of text on text body mode - 2009-05-02, 15:52

Join Date: May 2008
Posts: 53
oyuky
Offline
Regular Contributor
Hello , ive made a program in pys60 that allows to search in a database and display the texts from the database , it display the text as text body mode. It works fine but im having a problem , the program works in this way: the user can look for a word on the database and it display it in the app, the thing is when i look for a lot of texts and it display to much text in the body text mode i get memory error, why is that?


is it not possilbe to display very big texts in an app with text body mode? or maybe is stored on the buffer and i net to clean it, is there is a way of deleting first the buffer before displaying a big text?


any idea?

thanks

Oyuky
Reply With Quote

#2 Old Re: problem when displaying a lot of text on text body mode - 2009-05-02, 16:58

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
That's because the default heap size is 1 MB, so you will get a memory leak when using more than that. The solution is creating a .sis file using Ensymble modifying the heapsize option while using py2sis. For more information, check the README file.



Hope it helps,

Rafael.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem of text not getting displayed in CAknTextQueryDialog on e61i neekasa General Symbian C++ 9 2009-07-10 14:56
problem with dictionary mode krgvs General Symbian C++ 0 2008-04-25 11:49
Problem on getting item text from listbox imjude General Symbian C++ 2 2007-11-27 14:55
Howto send LF in text mode SMS Royessers General Messaging 2 2003-06-12 10:47
Sniff mode interoperability problem with 6310i jeffhu Bluetooth Technology 3 2002-09-12 05:29

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia