io-net consume 500MByte of memory

I am using 6.2.1B on x86 with over 900MB of memory. Today while I was
testing my application, I notice from my System Monitor that the memory
usage grows up to 80%. After stopping all our processes, the System Monitor
still showing over 50% of memory usage. spin shows that io-net is taking up
500MB of the memory. Any idea why? Is it some sort of memory leak? Is it a
known problem?

Johannes <Jsukamtoh@infolink.co.id> wrote:

I am using 6.2.1B on x86 with over 900MB of memory. Today while I was
testing my application, I notice from my System Monitor that the memory
usage grows up to 80%. After stopping all our processes, the System Monitor
still showing over 50% of memory usage. spin shows that io-net is taking up
500MB of the memory. Any idea why? Is it some sort of memory leak? Is it a
known problem?

Does your application open sockets and never close them?

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

I have many processes running and using quite a lot of sockets. After
stopping them, I didn’t check with netstat whether there are any outstanding
sockets. But I am sure that all my processes have stopped because they are
not shown in spin, sin, and psin. Can the sockets remain open even though my
process is no longer in the process list, like the zombie process?
Unfortunately I can’t reproduce the problem.

“Chris McKillop” <cdm@qnx.com> wrote in message
news:bn9sh3$qrl$1@nntp.qnx.com

Johannes <> Jsukamtoh@infolink.co.id> > wrote:
I am using 6.2.1B on x86 with over 900MB of memory. Today while I was
testing my application, I notice from my System Monitor that the memory
usage grows up to 80%. After stopping all our processes, the System
Monitor
still showing over 50% of memory usage. spin shows that io-net is taking
up
500MB of the memory. Any idea why? Is it some sort of memory leak? Is it
a
known problem?


Does your application open sockets and never close them?

chris


Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Chris McKillop” <cdm@qnx.com> wrote in message
news:bn9sh3$qrl$1@nntp.qnx.com

Johannes <> Jsukamtoh@infolink.co.id> > wrote:
I am using 6.2.1B on x86 with over 900MB of memory. Today while I was
testing my application, I notice from my System Monitor that the memory
usage grows up to 80%. After stopping all our processes, the System
Monitor
still showing over 50% of memory usage. spin shows that io-net is taking
up
500MB of the memory. Any idea why? Is it some sort of memory leak? Is it
a
known problem?


Does your application open sockets and never close them?

The libsocket does that on its own. Every time you lookup a nameserver.
There’s some fix on the developers site…

– igor