Mar 8 2006, 01:45 AM
Post
#1
|
|
|
Group: Members Posts: 500 Joined: 17-January 04 From: St. Louis, USA Member No.: 1,478 |
I tried to natively compile a GUI program in X/Qt. However, during the make process, it often popped up a window saying that memory of the workspace was too low (suggesting me to close X/Qt). Frequently X/Qt was automatically shut down due to insufficient memory. Although I did enable 256Mb swap space, it was hardly used by more than half as I monitored.
Anybody had experience with this. Is such a compiling prohibitive in nature due to Z's memory limitation? |
|
|
|
![]() |
Apr 10 2006, 06:11 AM
Post
#2
|
|
|
Group: Members Posts: 500 Joined: 17-January 04 From: St. Louis, USA Member No.: 1,478 |
I understand this is an Qtopia problem. I works for me now after putting the following line in the .xinitrc
CODE export TMPDIR=/mnt/card/tmp su -c 'mount /dev/mmcda1 `cat /etc/debroot`/mnt/card' Interesting enough, previously it didn't work for me as I mount bind the card to a chrooted location /mnt/sd instead of /mnt/card. Seems the mount points need to be coherent inside and outside chroot enviroment, which is beyond my expectation. |
|
|
|
xjqian Memory Shortage When Compiling Inside X/qt Mar 8 2006, 01:45 AM
qx773 You might have to change the "/etc/fstab... Mar 8 2006, 05:09 AM
pgas some compilations (especially C++) requires a lot ... Mar 8 2006, 08:10 AM
Meanie There is a env variable you can set, maybe TMP, ca... Mar 8 2006, 08:15 PM
xjqian thanks for the advice. I didn't notice any RAM... Mar 9 2006, 08:03 AM
xjqian finally built it. but seg fault Mar 13 2006, 10:43 PM
chyang Originally, I would set the environment variable T... Mar 14 2006, 12:13 AM
xjqian Inside the chroot env
CODEexport TMP=/tmp
export T... Mar 27 2006, 01:41 AM
PaulBx1 QUOTESo I believe that such warning shows up whene... Mar 31 2006, 07:09 AM
xjqian Do you know how to use the "nice" comman... Apr 1 2006, 05:10 PM
Da_Blitz It might be that the progrom has a hardcoded /tmp ... Apr 2 2006, 04:45 AM
ShiroiKuma I'm not sure if it's the tmpfs that gets m... Apr 5 2006, 02:48 AM
Meanie does
export TMPDIR=/mnt/card/tmp
help?
i thin... Apr 5 2006, 04:32 AM
ShiroiKuma QUOTE(Meanie @ Apr 5 2006, 01:32 PM)does
ex... Apr 5 2006, 04:50 AM
ShiroiKuma QUOTE(Meanie @ Apr 5 2006, 01:32 PM)does
ex... Apr 8 2006, 10:40 PM
xjqian CODEexport TMPDIR=/mnt/card/.tmpand it no longer b... Apr 9 2006, 03:39 AM
ShiroiKuma That doesn't work. Just run it from the comman... Apr 9 2006, 05:57 AM
xjqian QUOTE(ShiroiKuma @ Apr 9 2006, 08:57 AM)That ... Apr 9 2006, 09:48 PM
ShiroiKuma QUOTE(xjqian @ Apr 10 2006, 06:48 AM)Nope, th... Apr 9 2006, 10:37 PM
DoTheDog Resurrecting an old post. I've been trying to ... Jul 19 2006, 08:05 AM
ShiroiKuma QUOTE(DoTheDog @ Jul 19 2006, 05:05 PM)In qto... Jul 20 2006, 02:49 AM
DoTheDog Hi Shiroikuma,
How do you bind it in chroot? when ... Jul 20 2006, 04:20 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 07:46 PM |