Hi all, I am trying to hunt down an issue where during an RDP session via Apache Gaucamole, copying a file from a shared directory/drive to any location on the RDP server reserves memory that never gets freed. This leak eventually brings down the guac session process after ~3GB have been copied in such a way (on a weak machine). We are getting this with Guacamole 1.2.0 (over FreeRDP 2.2.0) - was not happening with Guacamole 1.0.0 (over FreeRDP 1.1).
Using valgrind we have tracked the problem to the repeated calls to FreeRDP_VirtualChannelWriteEx containing chunks of the copied file. The arguments include a wStream object that was earlier created via Stream_New. It appears, and the valgrind trace supports it, that this wStream instance never gets freed by FreeRDP. I could not find an open issue or discussions on it. Has anyone encountered this problem, or in general has any idea regarding the root cause of this leak? Should we be using the StreamPool from the external code (Guacamole in fact) rather than creating a new instance of the stream for each write operation? Thanks! Regards, Jonatan _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel