Re: [thredds] Large aggregated datasets, WMS memory issue

Hi Lin:

It doesnt (usually) matter how big the dataset is, just how big the request is.

Can you send a typical WMS request that causes this problem? Do you know what size of data you are requesting? What file format?

-Xmx1536m is around the max for 32 bit JVMs. I strongly advise you to use a 64bit JVM with more like 4 Gbyte heap.

John



On 3/29/2011 7:19 PM, Xiangtan.Lin@xxxxxxxx wrote:
Hi all,
I'm in process of serving out some large aggregated datasets (5 - 8GB) with Thredds WMS. I consistently experience "OutOfMemoryError: Java heap space" error when making WMS requests. On my test machine, I've allocated -Xmx1536m to Tomcat and experimentally Thredds is able to serve about 1GB aggregated datasets. By digging through the Dataset Aggregation and Memory related topics on the list, I've found out that the general suggestions are to allocate more memory to Tomcat such as: -Xmx4g
One post mentioned that "Thredds does everything in memory".
Can somebody please advise how much memory I should allocate to Tomcat for the 8GB dataset? I'm afraid I have to secure more than 8GB memory. And what is the best practice to serve out the large datasets on Thredds in general?
Regards and thanks,

*XiangtanLin*

Technical Services Officer *|*CSIRO IM&T

*xiangtan.lin@xxxxxxxx* <mailto:xiangtan.lin@xxxxxxxx>*|*www.csiro.au


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: