Results 1 to 3 of 3

Thread: How to solve this cc1plus: out of memory problem?

  1. #1
    Join Date
    Dec 2007
    Posts
    129
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default How to solve this cc1plus: out of memory problem?

    I have encounter this problem after compiling my project..

    cc1plus: out of memory allocating 22703868 bytes after a total of 47382528 bytes
    compiling customerentryclass.cpp (g++)
    gmake[1]: *** [initMethod.o] Error 1
    if i build it in another PC which is lower specs than mine it builds, but on my pc its not..

    how to solve this problem?

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to solve this cc1plus: out of memory problem?

    make sure ur problem doesnt have memory leaks.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to solve this cc1plus: out of memory problem?

    For which file you get that error? Is it by change the one with resources?

Similar Threads

  1. Virtual memory problem
    By Rahul in forum Qt Programming
    Replies: 1
    Last Post: 24th October 2007, 13:29
  2. Memory Problem with SIGNALS and SLOTS
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2007, 20:39
  3. Replies: 12
    Last Post: 3rd April 2006, 06:11

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.