quantranhong1999 commented on PR #2999: URL: https://github.com/apache/james-project/pull/2999#issuecomment-4222360403
> I put it to true by default, for not breaking existing running envs. +1 to revert it back to the existing behavior. It seems using `adjustUsageLimits=false` couples the memory fix to disk-limit startup semantics > So you have to set it up to false to not auto adjust usage limits. It seems the best way to resolve `prevent the embedded broker to claim up to 70% of JVM memory that might cause memory drain of James` (from PR https://github.com/apache/james-project/pull/2996) should have been to configure ActiveMQ's memory usage instead: ``` brokerService.getSystemUsage().getMemoryUsage().setLimit(...); // and optionally brokerService.getSystemUsage().getStoreUsage().setLimit(...); brokerService.getSystemUsage().getTempUsage().setLimit(...); ``` -- 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]
