Anyone has any idea for this?
Thank you!

On Monday 4 September 2023 at 09:15:39 UTC+1 Laura G wrote:

> Hi team, 
>
> 1. 
> *Is it possible to restrict how much direct memory a netty server can 
> allocate from the maxDirectMemory available?*
>
> We have the following scenario:
> 1 machine has multiple private IPs attached, and for each IP a server is 
> started. Those servers are not all active at the same time (let's say 50% 
> of them are idle). The active servers can allocate all direct memory 
> leaving the other server starving if they become active. We are trying to 
> avoid this.
>
> *Is it possible to split the available direct memory equally to the number 
> of servers so that each server gets its piece of memory?*
>
> 2. 
> The same scenario can occur at Thread level, where some threads get all 
> the memory available to the server leaving the other threads without memory 
> to allocate. *Any limit it can be applied at thread level for how much 
> memory they can allocate?*
>
> Looking forward to hearing from you.
>
> Thank you,
> Laura
>

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/8a96ff18-f7f6-48c3-96f8-7ded80caa219n%40googlegroups.com.

Reply via email to