Emma,

> The function vac_client_constructor allocates 1 GB of memory in every binary 
> which linked to the vlibmemoryclient library.
> I have limited memory in my test machine. Is there any way to resolve this 
> issue?

Firstly this is virtual memory.

If I recall correctly the API client uses the heap largely for the message 
dictionary.
You can certainly make this tunable / make a better estimate of how much memory 
it needs.
Or you can use the Unix Domain socket transport. That doesn't require a VPP 
memory heap on the client side at all.

Cheers,
Ole
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14745): https://lists.fd.io/g/vpp-dev/message/14745
Mute This Topic: https://lists.fd.io/mt/64406844/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to