Results 1 to 8 of 8

Thread: Hitting memory limits for malloc() at about 1.7GB?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Posts
    21
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Re: Hitting memory limits for malloc() at about 1.7GB?

    So it's looking like this is probably a 32 bit compiler issue. Thanks.
    Quote Originally Posted by wysota View Post
    Do one more thing - what happens if you use the new operator instead of malloc()?
    It also crashes, though oddly after the crash I now get the message "This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.", while I got no message with malloc().
    Quote Originally Posted by faldżip View Post
    If you have downloaded Qt SDK then I suppose that you have MinGW - I don't know this one, but I think it is not generating 64-bit code (by default).
    Yes I have the SDK. I've read that Qt is 64 bit since 3.3 - don't really get how that would help with a 32 bit compiler?

    Anyway, what 64 bit compilers is Qt compatible with? And how do I change the compiler Qt uses by default?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Hitting memory limits for malloc() at about 1.7GB?

    Quote Originally Posted by Skywalker View Post
    I've read that Qt is 64 bit since 3.3 - don't really get how that would help with a 32 bit compiler?
    It means it can be compiled with a 64 bit compiler.

    Anyway, what 64 bit compilers is Qt compatible with?
    MinGW has a 64 bit version.

    And how do I change the compiler Qt uses by default?
    You use the proper QMAKESPEC directory and make sure paths are setup correctly.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    Skywalker (8th July 2009)

  4. #3
    Join Date
    Jan 2009
    Posts
    21
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Re: Hitting memory limits for malloc() at about 1.7GB?

    It was indeed a 32 bit compiler issue - I was able to successfully run a test program compiled with MinGW 64.

    I'm not quite sure how to properly set up Qt to work with MinGW64, but I'll make a different thread for that.

    Thank you very much

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.