HElP:is memory really not enough?

My hardware is PC104 computer. It has 4M memory. The computer boot form
harddisk. But when
I run more than two process, there is a warning: not enough memory. What
should I do? Thanks
My boot image file is followed:

[image=1M]
[search=/sbin:/usr/sbin:/bin:/usr/bin:/lib:/lib/dll:/boot/sys:.]
[virtual=x86,bios] boot={
startup-bios
PATH=/proc/boot:/bin:/usr/bin:/usr/photon/bin:.
LD_LIBRARY_PATH=/proc/boot:/usr/lib:/lib procnto
}

[+script] .script={
display_msg “”
display_msg “Welcome to QNX Neutrino 6.1”
display_msg “Starting devb-eide…”
devb-eide blk automount=hd1t77:/:qnx4,automount=hd0t11:/fs/hd0-dos:dos dos
exec=all,fsi=update cam quiet eide
#waitfor /pkgs 30
display_msg “”
display_msg “Done.”
display_msg “/dev/hd1t77 mounted on /”

This will sure delay booting up, leave it out if you wish

but data safety is more important to me

display_msg “Checking / for inconsistencies…”
#chkfsys -qPr /
display_msg “Done.”
display_msg “Mounting base packages”
io-net -dne2000 ioport=0x300,irq=5 -pttcpip
if=en0:192.168.6.165:255.255.255.0 default=192.168.6.254

#mount -t qnx4 /proc/boot/qnxbase.qfs /pkgs/base
display_msg “Starting fs-pkg”
#/pkgs/base/qnx/os/core-2.1.2/x86/sbin/fs-pkg
#start console driver
#/pkgs/base/qnx/os/drivers-2.1.2/x86/sbin/devc-con -n4
display_msg “Starting sysinit…”
#sh -c /etc/system/sysinit

devc-con -n2 &
reopen /dev/con2
[+session] ksh &
reopen /dev/con1
[+session] ksh &
}

libc.so
libsocket.so
npm-ttcpip.so
devn-ne2000.so
fpemu.so.2
libcam.so
io-blk.so
cam-disk.so
cam-cdrom.so
fs-qnx4.so
fs-dos.so
fs-cd.so

here’s another way of creating a symbolic link

[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so

devb-eide
#slogger
devc-con
sh
mount
chkfsys
fdisk
cp
io-net
ping
ftp
telnet
chmod
rm

#seedres
kill
cat
ls
ksh
less
ps
sin
pidin
/root/testfloat

unlink_list = {
/proc/boot/devb-*
/proc/boot/chkfsys
/proc/boot/mount
/proc/boot/seedres
#/proc/boot/pci-bios
/proc/boot/cam-*
/proc/boot/fs-*
/proc/boot/libcam.so
/proc/boot/io-blk.so
/proc/boot/sh
}

“zener” <optimal@citiz.net> wrote in message
news:aa3ivs$d02$1@inn.qnx.com

My hardware is PC104 computer. It has 4M memory. The computer boot form
harddisk. But when
I run more than two process, there is a warning: not enough memory. What
should I do?

You can try reducing the cache of devb-eide. By default it’s using
15% of ram. In your case that’s 600k.
devb-eide blk
alloc=64k,cache=64k,automount=hd1t77:/:qnx4,automount=hd0t11:/fs/hd0-dos:dos
dos

Will reduce cache usage from 600k to 64k.

If you have a HD, try placing some
files on the HD instead (that may not help that much)

You can try passing -F100 option of procnto.

Do you really have a CD-ROM, if not remove fs-cd.so

Because the stuff is set uip it can’t really be deleted from /proc/boot as
you specified in unlink.


Thanks
My boot image file is followed:

[image=1M]
[search=/sbin:/usr/sbin:/bin:/usr/bin:/lib:/lib/dll:/boot/sys:.]
[virtual=x86,bios] boot={
startup-bios
PATH=/proc/boot:/bin:/usr/bin:/usr/photon/bin:.
LD_LIBRARY_PATH=/proc/boot:/usr/lib:/lib procnto
}

[+script] .script={
display_msg “”
display_msg “Welcome to QNX Neutrino 6.1”
display_msg “Starting devb-eide…”
devb-eide blk automount=hd1t77:/:qnx4,automount=hd0t11:/fs/hd0-dos:dos dos
exec=all,fsi=update cam quiet eide
#waitfor /pkgs 30
display_msg “”
display_msg “Done.”
display_msg “/dev/hd1t77 mounted on /”

This will sure delay booting up, leave it out if you wish

but data safety is more important to me

display_msg “Checking / for inconsistencies…”
#chkfsys -qPr /
display_msg “Done.”
display_msg “Mounting base packages”
io-net -dne2000 ioport=0x300,irq=5 -pttcpip
if=en0:192.168.6.165:255.255.255.0 default=192.168.6.254

#mount -t qnx4 /proc/boot/qnxbase.qfs /pkgs/base
display_msg “Starting fs-pkg”
#/pkgs/base/qnx/os/core-2.1.2/x86/sbin/fs-pkg
#start console driver
#/pkgs/base/qnx/os/drivers-2.1.2/x86/sbin/devc-con -n4
display_msg “Starting sysinit…”
#sh -c /etc/system/sysinit

devc-con -n2 &
reopen /dev/con2
[+session] ksh &
reopen /dev/con1
[+session] ksh &
}

libc.so
libsocket.so
npm-ttcpip.so
devn-ne2000.so
fpemu.so.2
libcam.so
io-blk.so
cam-disk.so
cam-cdrom.so
fs-qnx4.so
fs-dos.so
fs-cd.so

here’s another way of creating a symbolic link

[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so

devb-eide
#slogger
devc-con
sh
mount
chkfsys
fdisk
cp
io-net
ping
ftp
telnet
chmod
rm

#seedres
kill
cat
ls
ksh
less
ps
sin
pidin
/root/testfloat

unlink_list = {
/proc/boot/devb-*
/proc/boot/chkfsys
/proc/boot/mount
/proc/boot/seedres
#/proc/boot/pci-bios
/proc/boot/cam-*
/proc/boot/fs-*
/proc/boot/libcam.so
/proc/boot/io-blk.so
/proc/boot/sh
}

[/quote]

>