cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1061
Views
1
Helpful
2
Replies

NED building and loading issues

yli7
Cisco Employee
Cisco Employee

Team,

    Recently, with NSO 4.3 and later, I have ran into some issue when building the NED packages and reload them.

    For example, when building cisco-ios 5.4.3 with "make clean all", I received "heap allocation error":

       eheap_alloc: Cannot allocate 212907632 bytes of memory (of type "old_heap").

    The issued on both my VMs with system installation.

     I didn't get this error on my Mac laptop with local installation, however, when reloading the packages, I have the following errors:

admin@ncs> request packages reload

reload-result {

    package cisco-ios

    result false

    info --ERROR--

}

reload-result {

    package cisco-iosxr

    result false

    info --ERROR--

}

reload-result {

    package delete-preempty

    result true

}

reload-result {

    package device-report

    result false

    info --ERROR--

}

reload-result {

    package juniper-junos

    result true

}

[ok][2017-08-21 10:41:07]

  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.

  Does anyone know a valid fix for this issue? Or BU is aware of it and working on a fix?

thanks,

Yang

1 Accepted Solution

Accepted Solutions

Jan Lindblad
Cisco Employee
Cisco Employee

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: https://communities.cisco.com/thread/84613

View solution in original post

2 Replies 2

Jan Lindblad
Cisco Employee
Cisco Employee

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: https://communities.cisco.com/thread/84613

  Thanks, Jan! That's exactly what I'm looking for!