Difference between revisions of "Allocating Additional Memory to Tomcat"

From MircWiki
Jump to navigation Jump to search
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
''Note: This document assumes a Windows installation''
 
''Note: This document assumes a Windows installation''
  
* Fire up the Tomcat Properties Application (for help on this see [[Using the Tomcat Properties application]]), and '''stop Tomcat'''.
+
* Start the Tomcat Properties Application (for help on this see [[Using the Tomcat Properties application]]), and '''stop Tomcat'''.
  
* Now click the '''Java tab''' to get to the page that lets you control the Java memory allocation:
+
* Click the '''Java tab''' to get to the page that lets you control the Java memory allocation:
  
 
[[Image:Service4.JPG|center]]
 
[[Image:Service4.JPG|center]]
  
* The standard Tomcat allocations for the memory allocation pool are not large enough for handling large medical images. The values shown in the picture above, 128 and 256, should be large enough for all applications, but if you plan to handle lots of mammo images, you might even double them, especially if your computer has 1 GB or more of memory.  After setting the memory allocation parameters, switch back to the '''general tab''' and start Tomcat, then click '''OK'''.
+
* The standard Tomcat memory pool is not large enough for handling large medical images. The values shown in the picture above, 128 and 256, should be large enough for most applications. If you plan to have more than 1000 documents on your site, however, you should use 256 and 512 instead.  After setting the memory allocation parameters, switch back to the '''general tab''' and start Tomcat, then click '''OK'''.

Latest revision as of 19:22, 10 February 2010

Note: This document assumes a Windows installation

  • Click the Java tab to get to the page that lets you control the Java memory allocation:
Error creating thumbnail: Unable to save thumbnail to destination
  • The standard Tomcat memory pool is not large enough for handling large medical images. The values shown in the picture above, 128 and 256, should be large enough for most applications. If you plan to have more than 1000 documents on your site, however, you should use 256 and 512 instead. After setting the memory allocation parameters, switch back to the general tab and start Tomcat, then click OK.