[NETCONF-1043] Possible memory leak when running get-config with large response file Created: 29/May/23 Updated: 30/May/23 |
|
| Status: | Open |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | 3.0.9, 5.0.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Israel Marinho | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pick-next, pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Host Ubuntu 20.04.4 LTS Java openjdk 17.0.7 Netconf testtool version 5.0.6 |
||
| Attachments: |
|
| Priority: | Normal |
| Description |
|
Hello, guys. I'm using the netconf testtool to test a NETCONF device manager, and one of the tests is to check how the manager would handle a (relatively) large configuration data received through a get-config request. For that, I'm using a dummy config file 27MB large and passing it in command line with the --initial-config-xml-file parameter. The entire command I used for running the application is this: ``` ``` The memory consumption when the application starts is around 120MB. Using a NETCONF client and sending a get-config request, the consumption goes to 750MB; when a second get-config is sent, the consumption goes to 1.1GB and stays at that level for ever if you don't interact with it anymore. Could you please have a look at this? Attached are the config data file I'm using and a log file. I tried to upload a heap dump I collected but its size exceeds the limit.
|