Results 1 to 11 of 11

Thread: Memory Management Reg

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    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 Management Reg

    There is no need to worry. All you need to remember is not to access variables after there container has been deleted. Once you execute the 'delete' the memory is marked as reusable and can be overwritten at any time.

    For performance reasons, memory is not cleared when you delete it, but simply overwritten when it is required by other objects.

  2. The following user says thank you to squidge for this useful post:

    BalaQT (4th February 2010)

Similar Threads

  1. Recommend memory management literature
    By frenk_castle in forum General Programming
    Replies: 3
    Last Post: 18th October 2009, 20:30
  2. Memory management
    By cyberboy in forum Qt Programming
    Replies: 2
    Last Post: 12th June 2008, 20:48
  3. Memory management questions (im new to Qt)
    By scarvenger in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2007, 07:41
  4. Memory management in QT
    By Gayathri in forum Qt Programming
    Replies: 1
    Last Post: 17th November 2006, 07:21

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.