Hello Everyone, As I find a document where it is mentioned that -
Setting the main heap size to 4GB or more requires recompilation of the entire system with CLIB_VEC64 > 0. See …/clib/clib/vec_bootstrap.h. Can anybody please suggest the best way for setting CLIB_VEC64 in vpp 18.01 release. Thanks , Chetan Bhasin Thanks, Chetan Bhasin On Thu, Mar 7, 2019 at 12:43 PM chetan bhasin <chetan.bhasin...@gmail.com> wrote: > Hello everyone, > > I am getting invalid address while I am doing "pool_alloc_aligned" of 1 M > sessions for 10 workers on release build. > > But when I do the same with debug build , Process getting crash at below > ASSERT > > always_inline mheap_elt_t * > > mheap_elt_at_uoffset (void *v, uword uo) > > { > > ASSERT (mheap_offset_is_valid (v, uo)); ------------àHere > > return (mheap_elt_t *) (v + uo - STRUCT_OFFSET_OF (mheap_elt_t, > user_data)); > > } > > Query 1 : If we get invalid address in release build then application is > crashing at random places because of heap corruption. What's the best way > to fix this? > Query 2 : I have increase the "heapsize from 10G to 40G" , still facing > the same issue, is it because of low memory or issue is somewhere else? > > Thanks, > Chetan Bhasin > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12464): https://lists.fd.io/g/vpp-dev/message/12464 Mute This Topic: https://lists.fd.io/mt/30295236/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-