How to change default heap allocation size (page size and number of pages)
under QNX 6.2.0?
-Janusz.
How to change default heap allocation size (page size and number of pages)
under QNX 6.2.0?
-Janusz.
Janusz Ruszel <j.ruszel@notacom.com> wrote:
How to change default heap allocation size (page size and number of pages)
under QNX 6.2.0?
For calls to malloc()?
chris
–
Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/
Is 16K the smallest chunk of memory for QNX heap grows up?
How to get a the amount of used heap from C++ aplication? (mallinfo() if so,
how to calculate current heap size, heap free space and heap used space)
-Janusz.
“Chris McKillop” <cdm@qnx.com> wrote in message
news:bujq7q$1sl$1@inn.qnx.com…
Janusz Ruszel <> j.ruszel@notacom.com> > wrote:
How to change default heap allocation size (page size and number of
pages)
under QNX 6.2.0?
For calls to malloc()?chris
–
Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/
Janusz Ruszel <janusz_ruszel@notvalid.com> wrote:
Is 16K the smallest chunk of memory for QNX heap grows up?
How to get a the amount of used heap from C++ aplication? (mallinfo() if so,
how to calculate current heap size, heap free space and heap used space)
You might want to take a look at the code to pidin on cvs.qnx.com. That will
let you do this programatically. You can also use the IDE to inspect running
processes for the same information.
chris
–
Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/
Also Igor’s spin code is very helpful.
http://home.comcast.net/~kovalenko/qnx/spin/spin-1.10.tgz
Janusz.
“Chris McKillop” <cdm@qnx.com> wrote in message
news:bukomu$o0s$1@inn.qnx.com…
Janusz Ruszel <> janusz_ruszel@notvalid.com> > wrote:
Is 16K the smallest chunk of memory for QNX heap grows up?
How to get a the amount of used heap from C++ aplication? (mallinfo() if
so,
how to calculate current heap size, heap free space and heap used space)
You might want to take a look at the code to pidin on cvs.qnx.com. That
will
let you do this programatically. You can also use the IDE to inspect
running
processes for the same information.chris
–
Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/