mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2401 - fixes problem with low memory limits
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@817713 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7dca53d690
commit
db3a021384
|
@ -89,8 +89,8 @@ public abstract class BaseDestination implements Destination {
|
|||
// let's copy the enabled property from the parent DestinationStatistics
|
||||
this.destinationStatistics.setEnabled(parentStats.isEnabled());
|
||||
this.destinationStatistics.setParent(parentStats);
|
||||
this.systemUsage = brokerService.getProducerSystemUsage();
|
||||
this.memoryUsage = new MemoryUsage(systemUsage.getMemoryUsage(), destination.toString());
|
||||
this.systemUsage = new SystemUsage(brokerService.getProducerSystemUsage(), destination.toString());
|
||||
this.memoryUsage = this.systemUsage.getMemoryUsage();
|
||||
this.memoryUsage.setUsagePortion(1.0f);
|
||||
this.regionBroker = brokerService.getRegionBroker();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue