Hi, I want to create a separate index per tenant in application. It is due to both strong data separation requirements as well as query performance (active tenants with large indices affect others). The number of active IndexWriters would go into a few thousands. One of the concerns that rises is RAM buffers needed by IndexWritters, as even a few MBs of buffer per writer translates into heavy GBs of RAM.
Is there any way to give all IndexWriters one cumulative limit of RAM so that they can share it proportionally to their traffic? Thank you, Marcin