[QtonPi] Bakeqtpi.bash script

Chris Story ke6rwj at gmail.com
Wed Oct 3 18:16:36 CEST 2012


Yes i can confirm this same thing.. it fails every time.. also while doing the install, i have increased the ram on the VM to ~7GB, and it still fails. same error...

as a test i ran the script in one terminal, while in another i ran "free -m -s5" to show avail mem, when it fails mem is at 200k.  GCC seems to be a greedy pig...  I even tried to run it without X running...

the solution mentioned in the post below did not work for me..

brand new VM, nope...

at this time i HAVE NOT been successful at running the script on this env.

my current path is i have deleted all the ~/opt directory in my profile and trying to run again, (there is no clean option in the script)

ive had to dust off an unused ex-windows system to keep playing with the pi, while i try to solve this.

Chris.


On Oct 3, 2012, at 11:06 AM, Harri Pasanen wrote:

> On 10/03/2012 03:14 PM, Tobias Kempkensteffen wrote:
>> - Script caused "out of memory" using Ubuntu in VmWare Fusion.
>> 	Solution:http://wiki.vpslink.com/Prevent:_Compiling_Yields_%27Cannot_allocate_memory%27    (Thanks Chris!)
>> 	gcc tries to use all RAM of the host machine, no matter what the max. RAM for the VM is set to.
>> 
> 
> Are you sure about this?  I'm not familiar with VMware Fusion, but for 
> instance in VirtualBox you can give the amount of RAM available for the 
> guest, and the guest does not know how much memory the host has.
> 
> The vpslink like scenario can happen if something like openvz is used: 
> http://en.wikipedia.org/wiki/Operating_system-level_virtualization.
> 
> If somebody has the time to setup a QtonPi development environment as a 
> virtualbox image, that would great.
> 
> /Harri
> _______________________________________________
> QtonPi mailing list
> QtonPi at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qtonpi



More information about the QtonPi mailing list