Memory leak when using X11 forwarding
Status: Alpha
Brought to you by:
ymnk
Due to the bug described in Req. ID 926485 I was using
X11 forwarding in my server app, which occasionally
makes an ssh connection. This caused a serious memory
leak, due to the session object being put'ed into 2
static Hashtable's in ChannelX11 and they are never
removed. Even though I did perform this to clean up:
channel.disconnect();
session.disconnect();
According to JProbe this used about 500k per ssh
connection established and disconnected.