I can't execute "session.dispose()" correctly.
- WinSCP: version 5.9 build 6786
OS: Windows Server 2012 R2
Protocol: FTPS
How to run: powershell scripting
When connecting with FTPS on the production site and runnning session.dispose command, Windows pop-up with APPSCRASH.
Looking at the dubug log, the following has been repeated.
[2017-06-29 17:56:44.244Z] [0011] 2nd generation collection count: 3
[2017-06-29 17:56:44.244Z] [0011] Total memory allocated: 24009760
[2017-06-29 17:56:44.244Z] [0011] Waiting for request event
Ultimately, I guess that the killing process is executed and it is causing APPSCRASH.
[2017-06-29 17:56:46.150Z] [0011] Waiting for request event
[2017-06-29 17:56:46.244Z] [000d] Killing process
[2017-06-29 17:56:46.244Z] [000d] ExeSessionProcess.Close leaving
[2017-06-29 17:56:46.244Z] [000d] ExeSessionProcess.Dispose entering
But I can run "session.dispose()" when connecting Test FTPS Server.In that case, it is as follows.
[2017-07-01 11:17:09.137Z] [0013] 2nd generation collection count: 3
[2017-07-01 11:17:09.137Z] [0013] Total memory allocated: 20778496
[2017-07-01 11:17:09.137Z] [0013] Waiting for request event
[2017-07-01 11:17:09.138Z] [000c] ExeSessionProcess.Close entering
[2017-07-01 11:17:09.138Z] [000c] Waiting for process to exit (2000 ms)
[2017-07-01 11:17:09.161Z] [000c] ExeSessionProcess.Close leaving
[2017-07-01 11:17:09.164Z] [000c] ExeSessionProcess.Dispose entering
How can I successfully execute process.close, dispose?