ram

After my ram fills up, Photon stops and can’t be shutdown.

Is there any way to get swapfile to be used in RTS? I’d like to run more then 2 programs at a time.

i have 32 meg ram.

ps. any help would be greatly apprecieated

Hi Kosta,

Unfortunately RTP doesn’t not support swapfiles the only solution would be to add more RAM.

The reason for no swapfile support is that in the embedded enviroment it is not desirable to have swapfiles because of space constrainsts.

Regards,
Brenda


Previously, Kosta wrote in qdn.public.qnxrtp.photon:

After my ram fills up, Photon stops and can’t be shutdown.

Is there any way to get swapfile to be used in RTS? I’d like to run more then 2 programs at a time.

i have 32 meg ram.

ps. any help would be greatly apprecieated

Correction to my last posting…in doing some more checking there is actually a swapfile for RTP. To read up on it check out the knowledge base entry at the following:

http://qdn.qnx.com/support/bok/solution.qnx?9390

I hope this helps

Thanks
Brenda

Previously, Brenda Merpaw wrote in qdn.public.qnxrtp.photon:

Hi Kosta,

Unfortunately RTP doesn’t not support swapfiles the only solution would be to add more RAM.

The reason for no swapfile support is that in the embedded enviroment it is not desirable to have swapfiles because of space constrainsts.

Regards,
Brenda


Previously, Kosta wrote in qdn.public.qnxrtp.photon:
After my ram fills up, Photon stops and can’t be shutdown.

Is there any way to get swapfile to be used in RTS? I’d like to run more then 2 programs at a time.

i have 32 meg ram.

ps. any help would be greatly apprecieated

Note that as a realtime system, QNX obviously doesn’t support swapping in it’s
applications by default. If you want a program to use the swap space, you
need to call the munlockall() function to free your address space for swapping.
Many of the larger programs like gcc, quake]I[, etc. have to call this so that
they can run properly on low memory systems.

cheers,

Kris

Brenda Merpaw <gui@qnx.com> wrote:

Correction to my last posting…in doing some more checking there is actually a swapfile for RTP. To read up on it check out the knowledge base entry at the following:

http://qdn.qnx.com/support/bok/solution.qnx?9390

I hope this helps

Thanks
Brenda

Previously, Brenda Merpaw wrote in qdn.public.qnxrtp.photon:
Hi Kosta,

Unfortunately RTP doesn’t not support swapfiles the only solution would be to add more RAM.

The reason for no swapfile support is that in the embedded enviroment it is not desirable to have swapfiles because of space constrainsts.

Regards,
Brenda


Previously, Kosta wrote in qdn.public.qnxrtp.photon:
After my ram fills up, Photon stops and can’t be shutdown.

Is there any way to get swapfile to be used in RTS? I’d like to run more then 2 programs at a time.

i have 32 meg ram.

ps. any help would be greatly apprecieated
\


Kris Warkentin
kewarken@qnx.com
(613)591-0836 x9368
“You’re bound to be unhappy if you optimize everything” - Donald Knuth