BGP and memory