Results 1 to 10 of 10

Thread: Pixmap memory consumption

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Pixmap memory consumption

    Hey there, I'm developping a Qt app.

    At some point in my application I'm loading 500 widgets and 1000 pixmap inside of it.

    Since some pictures appears 2+ times, I've created a Pixmap "pool" manager to load once and for all a given Pixmap.


    Here are the figures, compiled in static release :

    at the beginning : my app takes 10 000 K of memory.
    when 1000 Pixmap + Widgets loaded : my app takes 32 000 K of memory.
    when unloaded : my app STILL takes 32 000 K of memory (if my Vista control panel is right).


    I'm pretty sure I've deleted everything.

    I'm not sure what could eat up so much memory since my "Pixmap manager" claims to contain 10 pixmap at the end.
    Last edited by bunjee; 29th November 2007 at 12:17.

Similar Threads

  1. Tracking memory consumption of plugins.
    By spud in forum General Programming
    Replies: 3
    Last Post: 7th September 2007, 13:14
  2. Memory Leak in my Application :-(
    By Svaths in forum Qt Programming
    Replies: 4
    Last Post: 27th July 2007, 19:42

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.