ouvtam commented on PR #2999:
URL: https://github.com/apache/james-project/pull/2999#issuecomment-4226793181

   I reproduced the bug in the tests which use the BrokerExtension and could 
fix it by setting a low fixed amount of resources.
   
   ```
   broker.setAdjustUsageLimits(false);
   broker.getSystemUsage().getMemoryUsage().setLimit(1024L * 1024 * 128); // 
128 MB
   broker.getSystemUsage().getTempUsage().setLimit(1024L * 1024 * 128); // 128 
MB
   broker.getSystemUsage().getStoreUsage().setLimit(1024L * 1024 * 128); // 128 
MB
   broker.getSystemUsage().getJobSchedulerUsage().setLimit(1024L * 1024 * 128); 
// 128 MB
   ```
   
   The defaults are quite high, though:
   ```
   systemUsage.getMemoryUsage().setLimit(1024L * 1024 * 1024 * 1); // 1 GB
   systemUsage.getTempUsage().setLimit(1024L * 1024 * 1024 * 50); // 50 GB
   systemUsage.getStoreUsage().setLimit(1024L * 1024 * 1024 * 100); // 100 GB
   systemUsage.getJobSchedulerUsage().setLimit(1024L * 1024 * 1024 * 50); // 50 
GB
   ```
   
   In your case you hit the 100GB mark. What are sane defaults?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to