Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    May 2008

    problem when displaying a lot of text on text body mode

    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?



  2. #2
    Super Contributor
    Join Date
    Feb 2008
    Belo Horizonte, Brazil

    Re: problem when displaying a lot of text on text body mode

    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,


Similar Threads

  1. Replies: 9
    Last Post: 2009-07-10, 13:56
  2. problem with dictionary mode
    By krgvs in forum Symbian
    Replies: 0
    Last Post: 2008-04-25, 10:49
  3. Problem on getting item text from listbox
    By imjude in forum Symbian
    Replies: 2
    Last Post: 2007-11-27, 13:55
  4. Howto send LF in text mode SMS
    By Royessers in forum General Messaging
    Replies: 2
    Last Post: 2003-06-12, 09:47
  5. Sniff mode interoperability problem with 6310i
    By jeffhu in forum Bluetooth Technology
    Replies: 3
    Last Post: 2002-09-12, 04:29

Posting Permissions

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