Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1004

four new netconf mounts using same schema not sharing same compiled schema

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • 3.0.1, 2.1.10, 2.0.20
    • 2.1.11, 2.0.21, 3.0.3
    • parser
    • None

    Description

      It seems that when simultaneously mounting up to four identical devices, they will all be
      compiled and kept in memory even though they can share the same compiled yang models.

      If you first add a single device and wait for it to be full connected (thus, compiled/mounted), the
      remaining devices that are mounted will reuse the already compiled models.

      Also, if you attempt to simultaneously mount 5+ devices, it's only the first four that are
      duplicated and anything after the 4th will share.

      This may be expected behavior, but with a large compiled schema, you can quickly create
      a case where lots of heap is used and can get to an OOM condition.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            jluhrsen Jamo Luhrsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: