Does QNX store the output of showmem system call in some file?
showmem -S
System RAM: 4096M ( 4294967296)
Total Used: 1425M ( 1494345552)
Used Private: 1075M ( 1127446352)
Used Shared: 349M ( 366899200)
take a look at my reply to a similar problem
I wrote a sample code to get the available RAM.
Hope this help
Emmanuel