Hello Ruben and Everyone!

The short answer is that I have managed to complete the build by re-running
make after freeing up some memory.

On Wed, Oct 19, 2011 at 2:20 PM, Ruben Van Boxem
<[email protected]> wrote:
> 2011/10/19 K. Frank <[email protected]>
> ...
>>
>> (It appears that my "Memory exhausted" error is occurs during the
>> debug part of the build process.)
>> ...
>
> On the page file size: that seems ok. I didn't modify the Windows defaults.
> I'm still kind of dazzled by this, I never encountered it.

Based on Ruben's success in building Qt on a similarly sized system,
I decided that maybe I was on the edge of having enough memory for
the build.

Again, after the failed build had exited, task manager reported about
2 GB of available memory (out of 4 GB).

So I rebooted my machine, went through task manager and killed off
various processes that looked unnecessary.  After doing this, task
manager reported about 3 GB of available memory.  When I re-ran
make, it picked up where it had left off -- linking QtGui4d.dll.  That took
about 45 minutes, but succeeded.  (QtGui4d.dll is about 456 MB in
size.)

(One note:  I wasn't watching memory usage while QtGui4d.dll was
being linked, but when the non-debug version, QtGui4.dll, was being
linked, memory usage (for all processes in the system, not just ld)
started at about 1 GB and grew more or less linearly to about 2.5 to
3 GB.  QtGui4.dll is about 13 MB in size.)

So...  I guess the moral of the story is that 2 GB of available memory
isn't quite enough for the build process, but 3 GB is.  (Just to be clear,
I didn't change the configuration or set any build flags to reduce memory
usage -- I just re-ran the build after re-booting and freeing up some memory
on my system.)

I did check that the 4.8.0-rc1 Qt build is basically working by building a
very simple test application, but I haven't used it for anything significant
yet.

> ...
> Ruben

Thanks for everyone's advice.


K. Frank

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to