[YANGTOOLS-779] OOM expection while parsing 27.1 MB of YANG with 2GO RAM Created: 30/May/17 Updated: 10/Apr/22 Resolved: 05/Jun/17 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Alexis de Talhouët | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 8569 | ||||||||
| Description |
|
Mount a vMX with Junos version 17.3 ends up with OOM expection. Link to the thread dump: https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk Increasing the memory of ODL to 8GO fixes this issues. Opening this ticket in case it worth being looked at this improve Yangtools parsing mechanism so it handles better heavy load. |
| Comments |
| Comment by Alexis de Talhouët [ 30/May/17 ] |
|
Attachment deadlock.txt has been added with description: deadlock |
| Comment by Peter Kajsa [ 31/May/17 ] |
|
Some issues have been resolved in scope of |
| Comment by Alexis de Talhouët [ 31/May/17 ] |
|
This is occurring in stable/carbon code (of NETCONF: commit 3521a2de8699c36ea4d92402a622b28d25e4a8a5 Peter, I believe the code I run is incorporating the fixes of |
| Comment by Robert Varga [ 05/Jun/17 ] |
|
Looking at the allocation failure path (in attachment) and the memory dumps provided we are failing to allocate more SubstatementContexts.
In the mean time https://git.opendaylight.org/gerrit/58067 should help a tiny bit, but not nearly enough. |