All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] XDDP socket, any memory allocation when sendto() is called?
@ 2016-05-12 23:42 Steve B
  2016-05-13 13:50 ` Philippe Gerum
  0 siblings, 1 reply; 11+ messages in thread
From: Steve B @ 2016-05-12 23:42 UTC (permalink / raw)
  To: xenomai

Hi guys,
Does sendto() going into an XDDP socket involve any memory allocation
that's not automatically getting de-allocated each time it's called?

I have an application running where I am writing a few different types of
data packets to an XDDP socket on a fixed periodic basis, and in a separate
console using "free" I see the memory usage increasing steadily until I
only have about 5MB left, at which point it doesn't grow/shrink anymore. I
don't seem to be losing any data after this happens, though.

I tried temporarily disabling my largest packet type, and saw that the rate
of memory consumption decreases very significantly, which is why I think it
has something to do with this.

I may be able to live with this if it's not causing any real problems but
it is a little unsettling...

Thanks!

Steve

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-05-17  0:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12 23:42 [Xenomai] XDDP socket, any memory allocation when sendto() is called? Steve B
2016-05-13 13:50 ` Philippe Gerum
2016-05-13 17:53   ` Steve B
2016-05-13 18:08     ` Philippe Gerum
2016-05-13 18:19       ` Steve B
2016-05-13 18:27         ` Steve B
2016-05-13 18:45           ` Philippe Gerum
2016-05-13 19:42             ` Steve B
2016-05-14 12:28               ` Gilles Chanteperdrix
2016-05-14 13:00               ` Philippe Gerum
2016-05-17  0:17                 ` Steve B

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.