Results 1 to 4 of 4

Thread: Memory Release

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Memory Release

    Hello,

    I am using graphics scene and when deleting the scene, the memory remains the same.I am calling the destructor and deleting all the items from the scene , even then the memory is same as after calling scene.Please give a solution.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Memory Release

    How are you measuring the memory?

  3. #3
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Memory Release

    I've been measuring memory through task manager

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Memory Release

    Then what you are seeing is correct. Task manager is a very rough approximation of memory use.

    You need to use something that is application specific, like valgrind.

    http://valgrind.org/

Similar Threads

  1. Qt Creator Release 1.3.1 FakeVim
    By waynew in forum Qt Tools
    Replies: 0
    Last Post: 22nd January 2010, 23:36
  2. Dynamic memory release
    By linuxdev in forum Qt Programming
    Replies: 5
    Last Post: 11th December 2008, 06:22
  3. what is the release date of Qt-4.4
    By babu198649 in forum Installation and Deployment
    Replies: 1
    Last Post: 7th January 2008, 09:50
  4. It seems that Qt does not release unused memory
    By iw2nhl in forum Qt Programming
    Replies: 31
    Last Post: 25th November 2007, 20:02
  5. Cobras IDE - new release - 0.13
    By piotrek in forum Qt-based Software
    Replies: 2
    Last Post: 3rd September 2007, 09:13

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
  •  
Qt is a trademark of The Qt Company.