[CONTROLLER-830] XSQL is causing an Out Of Memory when exiting the telnet session Created: 13/Sep/14 Updated: 25/Jul/23 Resolved: 16/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sharon Aicler | Assignee: | Sharon Aicler |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| External issue ID: | 1854 |
| Description |
|
When you open a session to XSQL via port 34343, execute some queries and then exist via the "exist" command, you get an OOM due to the input reader not stopping when the input stream is invalide. |
| Comments |
| Comment by Sharon Aicler [ 16/Sep/14 ] |
|
The loop reading from the console (e.g. from Socket input stream was not breaked when the stream was closed, hence creating the OOM adding to the buffer. Added a stopped=true to the caught exception + a "break"for the loop. |
| Comment by Tony Tkacik [ 16/Sep/14 ] |
|
COuld you please point to patchset which contains fix? |
| Comment by Sharon Aicler [ 16/Sep/14 ] |