Open GoogleCodeExporter opened 9 years ago
I should mention, that the memory leak happens in the client process.
I also found a hint to the problem. If you change the type of the Outlet to
float32, everything works as expected, so the problem seems to be related to
the string type.
Original comment by bastian....@gmail.com
on 15 Aug 2014 at 2:07
Same Problem here using the c# wrapper!
Original comment by martin.s...@googlemail.com
on 17 Mar 2015 at 12:16
The reason seems to be obvious -- lsl_pull_chunk_str() calls malloc() for each
string it returns. There's no easy way to call free() from C# (nor from
Python, I assume), so an additional C function, e.g. "lsl_chunk_str_free(char
**data_buffer, double *timestamp_buffer, unsigned long data_buffer_elements,
unsigned long data_buffer_row_elements)", would have to be written to call
free() in a 2-level loop.
Original comment by ulat...@yahoo.com
on 1 Jun 2015 at 7:48
Thanks for posting this. Can you please copy the post and re-post it on our
github page (https://github.com/sccn/labstreaminglayer/issues)? We are trying
to migrate there and it would be great if we could keep these issues once
google code shuts down.
Original comment by david.er...@gmail.com
on 1 Jun 2015 at 7:57
Original issue reported on code.google.com by
bastian....@gmail.com
on 15 Aug 2014 at 1:36