08-21-2017 08:53 AM - edited 03-01-2019 03:58 AM
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
Solved! Go to Solution.
08-21-2017 10:54 AM
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
08-21-2017 10:54 AM
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
08-21-2017 11:04 AM
Thanks, Jan! That's exactly what I'm looking for!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide