This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 605
Memory leak: old transport not released upon server side disconnection #329
Comments
Hi gws-hjyu, Thank you very much for bringing this to our attention! We will look in to it and let you know what we find. Regards, |
mavamazon
added a commit
that referenced
this issue
Nov 17, 2017
Changes in this update * **Enhancements**.. * Added comments to `AlexaClientSDKConfig.json`. These descriptions provide additional guidance for what is expected for each field... * Enabled pause and resume controls for Pandora... * **Bug Fixes**.. * Bug fix for [issue #329](#329) - `HTTP2Transport` instances no longer leak when `SERVER_SIDE * Bug fix for [issue #189](#189) - Fixed a race condition in the `Timer` class that sometimes * Bug fix for a race condition that caused `SpeechSynthesizer` to ignore subsequent `Speak` directives... * Bug fix for corrupted mime attachments.
Hi @gws-hjyu, This has been resolved in v1.2.1. Thanks, |
padillag
pushed a commit
to padillag/avs-device-sdk-intel-speech-enabling-kit
that referenced
this issue
May 11, 2018
Changes in this update * **Enhancements**.. * Added comments to `AlexaClientSDKConfig.json`. These descriptions provide additional guidance for what is expected for each field... * Enabled pause and resume controls for Pandora... * **Bug Fixes**.. * Bug fix for [issue #329](alexa/avs-device-sdk#329) - `HTTP2Transport` instances no longer leak when `SERVER_SIDE * Bug fix for [issue #189](alexa/avs-device-sdk#189) - Fixed a race condition in the `Timer` class that sometimes * Bug fix for a race condition that caused `SpeechSynthesizer` to ignore subsequent `Speak` directives... * Bug fix for corrupted mime attachments.
padillag
pushed a commit
to padillag/avs-device-sdk-intel-speech-enabling-kit
that referenced
this issue
May 11, 2018
Changes in this update * **Enhancements**.. * Added comments to `AlexaClientSDKConfig.json`. These descriptions provide additional guidance for what is expected for each field... * Enabled pause and resume controls for Pandora... * **Bug Fixes**.. * Bug fix for [issue #329](alexa/avs-device-sdk#329) - `HTTP2Transport` instances no longer leak when `SERVER_SIDE * Bug fix for [issue #189](alexa/avs-device-sdk#189) - Fixed a race condition in the `Timer` class that sometimes * Bug fix for a race condition that caused `SpeechSynthesizer` to ignore subsequent `Speak` directives... * Bug fix for corrupted mime attachments.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When a server side disconnection happens (it happens hourly), the old HTTP2 transport is not released properly. A quick way to verify is to use the same configuration JSON file to launch 2 SampleApp. They will disconnect each other constantly and we can observe the process memory increments. It is very easy to prove that the transport is not released as we can add the following line into
MessageRouter::onServerSideDisconnect()
to log the transport count:Here are some lines from the log output:
As we can see the transport count keeps increasing.
The text was updated successfully, but these errors were encountered: