Results 1 to 3 of 3

Thread: out of memory when reading translations.pro (configure)

  1. #1
    Join Date
    May 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default out of memory when reading translations.pro (configure)

    I try to compile Qt 4.6.3 (qt-everywhere-opensource-src-4.6.3, MinGW-gcc440) and get an out of memory error at the configuration process.

    A part of the console output:
    Creating qmake...
    g++ -c -oqconfig.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -IE:\Development\Library\Qt/include -IE:\Development\Library\Qt/include/QtCore -IE:\Development\Library\Qt/include -IE:\Development\Library\Qt/include/QtCore -IE:\Development\Library\Qt/src/corelib/global -IE:\Development\Library\Qt/src/corelib/xml -IE:\Development\Library\Qt/mkspecs/win32-g++ -IE:\Development\Library\Qt/tools/shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_BOOTSTRAPPED -DQMAKE_OPENSOURCE_EDITION E:\Development\Library\Qt/src/corelib/global/qconfig.cpp
    g++ -o qmake.exe project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.o option.o winmakefile.o projectgenerator.o property.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_dsp.o msvc_vcproj.o msvc_objectmodel.o symmake.o initprojectdeploy_symbian.o registry.o epocroot.o symmake_abld.o symmake_sbsv2.o qbitarray.o qbuffer.o qbytearray.o qcryptographichash.o qvsnprintf.o qbytearraymatcher.o qconfig.o qdatetime.o qdir.o qdiriterator.o qfile.o qtemporaryfile.o qfileinfo.o qabstractfileengine.o qfsfileengine.o qfsfileengine_iterator.o qfsfileengine_win.o qfsfileengine_iterator_win.o qglobal.o qhash.o qiodevice.o qlibraryinfo.o qlist.o qlinkedlist.o qlocale.o qmalloc.o qmap.o qregexp.o qtextcodec.o qutfcodec.o qstring.o qstringlist.o qtextstream.o quuid.o qvector.o qurl.o qsettings.o qsettings_win.o qvariant.o qmetatype.o qxmlstream.o qxmlutils.o qnumeric.o -lole32 -luuid
    copy qmake.exe E:\Development\Library\Qt\bin\qmake.exe
    1 Datei(en) kopiert.
    Creating makefiles in src...
    Generating Makefiles...

    [...]

    Reading E:/Development/Library/Qt/translations/translations.pro
    In file E:\Development\Library\Qt/src/corelib/tools/qstring.cpp, line 981: Out of memory
    Qmake failed, return code -1073741819
    The memory usage increases very fast when reading the translations.pro file and qmake crashes with an out of memory error on the next line.

    The configure command:
    configure -release -no-exceptions -no-accessibility -no-stl -no-phonon -no-scripttools -no-3dnow -no-sse -no-sse2 -no-openssl -no-rtti -qt-style-windowsvista -qt-style-plastique -qt-style-cleanlooks -no-style-motif -no-style-cde -nomake examples -nomake demos
    I don't know what I'm doing wrong because it's the same setup I used some week ago and didn't had this problem.

    If you need more information, please tell me.

    Thanks in advance for any suggestions.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: out of memory when reading translations.pro (configure)

    How much free space do you have left on E:\?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    May 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: out of memory when reading translations.pro (configure)

    On drive E:\ I've got over 32GB free space.

    Today I tried to configure the same setup on another PC with exactly the same out of memory problem.

    By the way, on both machines runs Windows 7 64-bit Profession.

Similar Threads

  1. Translations in Qt
    By QbelcorT in forum Qt Programming
    Replies: 3
    Last Post: 4th April 2009, 02:44
  2. reading writing qimage / qbitmap to and from memory
    By JeanC in forum Qt Programming
    Replies: 2
    Last Post: 13th May 2008, 12:28
  3. translations
    By anafor2004 in forum Newbie
    Replies: 5
    Last Post: 1st February 2008, 10:26
  4. Contributing translations
    By JaSP in forum General Discussion
    Replies: 2
    Last Post: 30th December 2007, 12:25
  5. Replies: 2
    Last Post: 4th May 2006, 20:17

Tags for this Thread

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.