Page 1 of 1

TIBCTraceService - memory usage

Posted: Fri 11 Nov 2011 06:05
by tsteinmaurer
Hello,

I don't have the source, so I'm here to check, if TIBCTraceService internally buffers somehow received lines when using GetNextLine. The reason why I'm asking is, when running a trace service for quite some time, and then freeing a TIBCTraceService object, it looks like that quite some memory is released then.

Thanks,
Thomas

Posted: Fri 11 Nov 2011 09:22
by AndreyZ
Hello,

The TIBCTraceService componenty allocates the buffer with the size that is determined by the TIBCTraceService.BufferSize property only once, and uses it to return data. When TIBCTraceService is freed, the buffer is freed as well.

Posted: Fri 11 Nov 2011 10:28
by tsteinmaurer
Hi!

So, there is no chance that memory accumulates if e.g. TIBCTraceService is running for days?

Thanks,
Thomas

Posted: Fri 11 Nov 2011 11:13
by AndreyZ
We don't see the way it may happen.

Posted: Fri 11 Nov 2011 11:20
by tsteinmaurer
Thanks!