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/95a014b2-c8a9-4389-8963-1dc4099f3df2n%40googlegroups.com.

Reply via email to