mirror of https://github.com/apache/activemq.git
AMQ-3665: Turned on Velocity template caching to reduce memory footprint of AMQ store journal reader.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
999dc0df20
commit
4ddd9019c8
|
@ -41,6 +41,10 @@ public class CustomResourceLoader extends ResourceLoader {
|
||||||
public void init( ExtendedProperties configuration)
|
public void init( ExtendedProperties configuration)
|
||||||
{
|
{
|
||||||
fileResourceLoader.init(configuration);
|
fileResourceLoader.init(configuration);
|
||||||
|
|
||||||
|
// AMQ-3665: Turn on template caching as otherwise the journal reader
|
||||||
|
// could run out of memory on large journal files
|
||||||
|
this.setCachingOn(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue