file configs.properties added and print change in servlet
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101521 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
bf4f59359f
commit
c5d19b629c
|
@ -200,7 +200,7 @@ public class GWTdbManagerServiceImpl extends RemoteServiceServlet implements
|
||||||
long maxHeapSize = readProperty();
|
long maxHeapSize = readProperty();
|
||||||
// config.maxBytesLocalHeap(200, MemoryUnit.MEGABYTES);
|
// config.maxBytesLocalHeap(200, MemoryUnit.MEGABYTES);
|
||||||
config.maxBytesLocalHeap(maxHeapSize, MemoryUnit.MEGABYTES);
|
config.maxBytesLocalHeap(maxHeapSize, MemoryUnit.MEGABYTES);
|
||||||
logger.info("dbmanager-> Max_Bytes_Local_Heap set to value in megabytes: "+ config.getMaxBytesLocalHeap());
|
logger.info("dbmanager-> Max_Bytes_Local_Heap: "+ config.getMaxBytesLocalHeap());
|
||||||
// config.maxBytesLocalHeap(2, MemoryUnit.GIGABYTES);
|
// config.maxBytesLocalHeap(2, MemoryUnit.GIGABYTES);
|
||||||
config.diskSpoolBufferSizeMB(30);
|
config.diskSpoolBufferSizeMB(30);
|
||||||
config.overflowToDisk(true);
|
config.overflowToDisk(true);
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
CACHE_MAX_HEAP_SIZE=500
|
Loading…
Reference in New Issue