wxwidgets out of memory during compilation
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > wxwidgets out of memory during compilation




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    wxwidgets out of memory during compilation  
hagit


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-07 12:18 PM

Hi,
I used WxWidgets when writing my application.
When I tried to compile my application on my mips machine I got out-of-
memory problem.
I have 256M dram on my machine and I my linux kernel is 2.6.10.
Could it be the that compilayion takes so much memory? I am building a
very simple GUI....
The message I get when I compile is:

/usr/local/include/wx-2.8/wx/image.h:136: warning: dereferencing type-
punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/gtk/filepicker.h: At global scope:
/usr/local/include/wx-2.8/wx/gtk/filepicker.h:112: warning: unused
parameter #windows#
/usr/local/include/wx-2.8/wx/gtk/filepicker.h:174: warning: unused
parameter #windows#
oom-killer: gfp_mask=0x1d2
DMA per-cpu:
cpu 0 hot: low 32, high 96, batch 16
cpu 0 cold: low 0, high 32, batch 16
Normal per-cpu: empty
HighMem per-cpu: empty
...
...
...
Out of Memory: Killed process 2883 (as).
g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.

When I type free before starting compilation I get:

#free
total       used       free     shared    buffers
cached
Mem:        255352     142624     112728          0      12140
71772
-/+ buffers/cache:      58712     196640
Swap:            0          0          0

Thanks a lot!






[ Post a follow-up to this message ]



    Re: wxwidgets out of memory during compilation  
Måns Rullgård


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-07 12:18 PM

hagit <hagit_guy@hotmail.com> writes:

> Hi,
> I used WxWidgets when writing my application.
> When I tried to compile my application on my mips machine I got out-of-
> memory problem.
> I have 256M dram on my machine and I my linux kernel is 2.6.10.
> Could it be the that compilayion takes so much memory? I am building a
> very simple GUI....
> The message I get when I compile is:

[...]

> g++: Internal error: Terminated (program cc1plus)

That's the price for using C++.

> When I type free before starting compilation I get:
>
> #free
>              total       used       free     shared    buffers
> cached
> Mem:        255352     142624     112728          0      12140
> 71772
> -/+ buffers/cache:      58712     196640
> Swap:            0          0          0

With only 256MB RAM you should have at least 1GB of swap space.  Your
compilation would still crawl of course.

--
Måns Rullgård
mans@mansr.com





[ Post a follow-up to this message ]



    Re: wxwidgets out of memory during compilation  
Spoon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-30-07 12:18 PM

hagit wrote:

> I used WxWidgets when writing my application. When I tried to compile
> my application on my mips machine I got out-of-memory problem.

This might be a bug in GCC. What version did you use?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:51 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register