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:
Loredana Liccardo 2014-11-07 17:20:47 +00:00
parent bf4f59359f
commit c5d19b629c
2 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,7 @@ public class GWTdbManagerServiceImpl extends RemoteServiceServlet implements
long maxHeapSize = readProperty();
// config.maxBytesLocalHeap(200, 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.diskSpoolBufferSizeMB(30);
config.overflowToDisk(true);

View File

@ -0,0 +1 @@
CACHE_MAX_HEAP_SIZE=500