BUG-2383: lower default candidate allocation 89/12889/1
authorRobert Varga <rovarga@cisco.com>
Sun, 16 Nov 2014 13:58:33 +0000 (14:58 +0100)
committerRobert Varga <rovarga@cisco.com>
Sun, 16 Nov 2014 14:02:40 +0000 (15:02 +0100)
commit547bd6ec0a7d0147572dc355ab186571bf42e8b7
tree185098bfe0574f0827596acc6c6f7c3d7239b7ec
parent7b50369835db64f717e279cadb1732aa2d77b80c
BUG-2383: lower default candidate allocation

Rather than allocating the default of 16 entries, we force the HashMap
to allocate a lower number of entries. While this is not a complete
solution, it lowers the memory overhead significantly.

Change-Id: Ic3afe36381930d567ee7523856b3d3959c013459
Signed-off-by: Robert Varga <rovarga@cisco.com>
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/AbstractAdjRIBs.java