Hi Ruben!

On Wed, Oct 19, 2011 at 11:18 AM, Ruben Van Boxem
<[email protected]> wrote:
> 2011/10/19 xunxun <[email protected]>
>>
>> 于 2011/10/19 22:32, K. Frank 写道:
>> > Hello Lists!
>> >
>> > I get the following error:
>> >
>> >     ./tmp\obj\debug_shared\moc_qgraphicsanchorlayout.o: file not
>> > recognized: Memory exhausted
>> >
>> > in the build step that links QtGuid4.dll when trying to build Qt
>> > 4.8.0-rc1
>> > with mingw-w64 4.7.0
>> >
>> > Would anyone have some suggestions about how I might fix this?
>> > ...
> ...
> Strange, I can compile it without a hitch (if you forget about 1.5 hours of
> an unusable system sue to excessive paging because 4GB of Ram isn't enough).
>
> I think you might have too little RAM, and certainly your page size will be
> too small. This is a very big problem in ld, it just eats memory like
> there's no tomorrow :(

I have 4 GB of ram, and a 4 GB page file (pagefile.sys).  How big is your
page file?

(Unless by "page size" you mean something other than the size bo
pagefile.sys.)

I suppose I could reboot and try to kill off any unnecessary processes,
and try the build again, but doing so would be enough of a nuisance that
I'd prefer not to do so if it's just a shot in the dark.

> If you don't need a debug Qt, just build the release DLLs:
> mingw32-make release
>
> It's the debug info that's eating all memory, for some unexplained reason.

Ah, that's interesting.  I suppose I could just build the release.

But -- and correct me if I'm wrong -- isn't it the case that if I want to build
*my* code in debug mode (which, sadly, I sometimes want to do) , I have
to build it against debug version of Qt?

> Ruben
> ...

Thanks for your help.


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