<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NED building and loading issues in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ned-building-and-loading-issues/m-p/3546775#M1614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recently, with NSO 4.3 and later, I have ran into some issue when building the NED packages and reload them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For example, when building cisco-ios 5.4.3 with "make clean all", I received "heap allocation error":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eheap_alloc: Cannot allocate 212907632 bytes of memory (of type "old_heap").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The issued on both my VMs with system installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I didn't get this error on my Mac laptop with local installation, however, when reloading the packages, I have the following errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;admin@ncs&amp;gt; request packages reload &lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package cisco-ios&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result false&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; info --ERROR--&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package cisco-iosxr&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result false&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; info --ERROR--&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package delete-preempty&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result true&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package device-report&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result false&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; info --ERROR--&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package juniper-junos&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result true&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;[ok][2017-08-21 10:41:07]&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp; I had to restart NCS a few times, removed all the packages, and only add the one I need at the moment and got "packages reload" work. I cannot imagine if this happens on a customer production server during a NED upgrade.&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp; Does anyone know a valid fix for this issue? Or BU is aware of it and working on a fix?&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;thanks,&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;Yang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2019 11:58:08 GMT</pubDate>
    <dc:creator>yli7</dc:creator>
    <dc:date>2019-03-01T11:58:08Z</dc:date>
    <item>
      <title>NED building and loading issues</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ned-building-and-loading-issues/m-p/3546775#M1614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recently, with NSO 4.3 and later, I have ran into some issue when building the NED packages and reload them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For example, when building cisco-ios 5.4.3 with "make clean all", I received "heap allocation error":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eheap_alloc: Cannot allocate 212907632 bytes of memory (of type "old_heap").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The issued on both my VMs with system installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I didn't get this error on my Mac laptop with local installation, however, when reloading the packages, I have the following errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;admin@ncs&amp;gt; request packages reload &lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package cisco-ios&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result false&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; info --ERROR--&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package cisco-iosxr&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result false&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; info --ERROR--&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package delete-preempty&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result true&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package device-report&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result false&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; info --ERROR--&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;reload-result {&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; package juniper-junos&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result true&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;[ok][2017-08-21 10:41:07]&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp; I had to restart NCS a few times, removed all the packages, and only add the one I need at the moment and got "packages reload" work. I cannot imagine if this happens on a customer production server during a NED upgrade.&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&amp;nbsp; Does anyone know a valid fix for this issue? Or BU is aware of it and working on a fix?&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;thanks,&lt;/P&gt;&lt;P style="font-size: 14px; font-family: Menlo;"&gt;Yang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 11:58:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ned-building-and-loading-issues/m-p/3546775#M1614</guid>
      <dc:creator>yli7</dc:creator>
      <dc:date>2019-03-01T11:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: NED building and loading issues</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ned-building-and-loading-issues/m-p/3546776#M1615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The NCS JavaVM is hitting the memory ceiling allocated to it. In order to load so many Java packages, you need to increase the ceiling. This was discussed recently here on the Hub. Have a look at this post: &lt;A _jive_internal="true" class="loading" href="https://community.cisco.com/thread/84613" title="https://communities.cisco.com/thread/84613"&gt;https://communities.cisco.com/thread/84613&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 17:54:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ned-building-and-loading-issues/m-p/3546776#M1615</guid>
      <dc:creator>Jan Lindblad</dc:creator>
      <dc:date>2017-08-21T17:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: NED building and loading issues</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ned-building-and-loading-issues/m-p/3546777#M1616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Thanks, Jan! That's exactly what I'm looking for!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 18:04:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ned-building-and-loading-issues/m-p/3546777#M1616</guid>
      <dc:creator>yli7</dc:creator>
      <dc:date>2017-08-21T18:04:41Z</dc:date>
    </item>
  </channel>
</rss>

