Results 1 to 3 of 3

Thread: load many image, then output "QImage: out of memory,return a null image"

  1. #1
    Join Date
    Apr 2014
    Posts
    7
    Qt products
    Qt5
    Platforms
    Windows

    Default load many image, then output "QImage: out of memory,return a null image"

    hi

    I'm trying to use QImage load many image

    but I found a problem,

    when my program use more than 1.4GB memory, then I could not continue loading image,

    It will output " QImage: out of memory,return a null image "

    but, I'm pretty sure I have enough memory not use

    does anyone know where is the problem?

    thank you very much

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,521
    Thanked 278 Times in 273 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: load many image, then output "QImage: out of memory,return a null image"

    What OS ? Perhaps there is some limitation to the amount of memory for a process or user?

  3. #3
    Join Date
    Apr 2014
    Posts
    7
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: load many image, then output "QImage: out of memory,return a null image"

    I'm use Win7 64bit,

    if Indeed have limitation to the amount of memory, can I increase the amount of memory in Qt Creator?

    thank you very much

Similar Threads

  1. QImage() returns Null Image
    By ustulation in forum Qt Programming
    Replies: 7
    Last Post: 24th July 2012, 14:52
  2. Replies: 11
    Last Post: 21st June 2011, 02:05
  3. QImage: out of memory, returning null image
    By singhzubin in forum Qt Quick
    Replies: 1
    Last Post: 10th December 2010, 09:08
  4. QtextEdti changes "cariage return" to "linefeed"
    By StefanQtNutzer in forum Qt Programming
    Replies: 2
    Last Post: 6th December 2010, 12:58
  5. Image: out of memory, returning null image
    By darek_hecpl in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 22nd September 2010, 14:48

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.