Proc32 memory increase

Hi there,

I have a question regarding the Proc32 process. I found that the memory
usage of Proc 32 is increased after I run my program. So I wonder is it
normal that the proc32 will use more memory or is because that my program
didn’t release resource completely. By the way, under what kind of
situation, the Proc32 will use more memroy?

Thanks in advance!

Teresa Tao <ttao@neontech.com> wrote:

Hi there,

I have a question regarding the Proc32 process. I found that the memory
usage of Proc 32 is increased after I run my program. So I wonder is it
normal that the proc32 will use more memory or is because that my program
didn’t release resource completely. By the way, under what kind of
situation, the Proc32 will use more memroy?

Proc will grow its heap the busier your system gets. and it is the ultimate
owner of shared memory (/dev/shmem)
as an example, my embedded system with hardly anything running has Proc32
with dataspace of 460K. (and no /dev/shmem objects)
my really really busy qnx4 machine running photon has Proc32 with dataspace
of 1800K. (700K of it is /dev/shmem objects)

the above is with output of ‘sin’.


Randy Martin email: randy@qnx.com www.qnx.com
QNX Software Systems Ltd. QUICS: randy (613) 591-0934 (data)
(613) 591-0931 x287 (voice) mail: 175 Terence Matthews Cr
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8