Results 1 to 2 of 2

Thread: Memory usage in QTable

  1. #1
    Join Date
    Mar 2007
    Location
    Bangalore
    Posts
    21
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Memory usage in QTable

    Hello,
    I have an application in which i have a table and i set the cells of the table to some text and the contains about 200000 rows.Is there memory utilization after the table is set to text i.e once table is set to some text say 200000 rows to display it on the table is memory utilized.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Memory usage in QTable

    Yes, every cell in QTable is represented by QTableItem, so if you have 200k rows and 1 column, you will have 200k QTableItems that will sit in the memory.

    http://doc.trolltech.com/3.3/qtable....n-large-tables

  3. The following user says thank you to jacek for this useful post:

    mahiapkum (26th May 2007)

Similar Threads

  1. Memory Leak in my Application :-(
    By Svaths in forum Qt Programming
    Replies: 4
    Last Post: 27th July 2007, 19:42
  2. How to determine memory usage?
    By nopalot in forum General Programming
    Replies: 3
    Last Post: 11th February 2007, 19:50

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.