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

OOM expection while parsing 27.1 MB of YANG with 2GO RAM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 8569

      Mount a vMX with Junos version 17.3 ends up with OOM expection.
      Attached a deadlock revealed by Java Yourkit Profiler.

      Link to the thread dump: https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk
      Link to the schema being parsed: https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk
      Link to the logs at TRACE level (but for NETCONF): 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.

            Unassigned Unassigned
            adetalhouet Alexis de Talhouƫt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: