Re: [FreeRDP-devel] Fwd: Memory not being freed during file copy via an RDP session

2020-09-02 Thread Armin Novak via FreeRDP-devel
Some follow up: debugged the whole thing a bit with current xfreerdp from 68c7bcc6501b6df12ad75d65c7b4c2685fb755e4 I could not get any stream in the pool to grow beyond 162k The chunks that get copied (released with Stream_Free) are 2MB during file copy from xfreerdp host to RDP server.

Re: [FreeRDP-devel] Fwd: Memory not being freed during file copy via an RDP session

2020-09-01 Thread Armin Novak via FreeRDP-devel
Hi Jonatan, No, the dynamic channel write method is internal to libfreerdp2.so, so you should not have to do anything there. Could you clarify which stream is growing so large? All buffers should be much smaller even with large files. regards Armin On 01.09.20 15:19, Jonatan Volkov via Free

[FreeRDP-devel] Fwd: Memory not being freed during file copy via an RDP session

2020-09-01 Thread Jonatan Volkov via FreeRDP-devel
Hi Armin, Thank you for your reply. I am talking about copying a file via a shared drive. Meanwhile we have seen that FreeRDP 2.0.0 was using Stream_Free() to free the wStream that was initially passed to FreeRDP_VirtualChannelWriteEx, while 2.2.0 uses Stream_Release. It is most likely that the c