문제

I set ActiveMQ broker SystemUsage property as below;

SystemUsage systemUsage=new SystemUsage();

StoreUsage storeUsage=new StoreUsage();
storeUsage.setLimit(1L);            
systemUsage.setStoreUsage(storeUsage);

MemoryUsage memoryUsage =new MemoryUsage();
memoryUsage.setLimit(1L);
systemUsage.setMemoryUsage(memoryUsage);

TempUsage tempUsage=new TempUsage();
tempUsage.setLimit(1L);
systemUsage.setTempUsage(tempUsage);

broker.setSystemUsage(systemUsage); 

broker.start();

but my db.data file goes on growing up.But I have to restrict it.

도움이 되었습니까?

해결책

There is no max size setting for the db.data file. It will grow as large as it needs to in order to handle the amount of state data needed to run the Broker. It will however recycle unused portions as things change on the Broker so it should reach a stable point that accommodates your use case.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top