[Thread Prev][Thread Next][Index]

[las_users] how to modify ferret memsize in LAS



Hi,
today I had a lot of troubles trying to enlarge the memsize of ferret in LAS.

I added in las.xml the following lines
    <properties>
       <ferret> 
          <memsize>128</memsize>
       </ferret>
    </properties>

but ferret always used 16 Mb! I'm sure about this since I added a "show 
memory" line in Plot_1D.jnl and whenever the script was executed I got  
"Current size of FERRET memory cache: 16 MegaWords  (1 word = 4 bytes)"

At last I succeeded but the only way was to edit the file 
las/WEB-INF/classes/resources/ferret/scripts/FBS.jnl 
adding to it the line 
      set memory/size=128

I hope this can help somebody (or prove I didn't read carefully the 
documentation!)

Ciao from Italy,
Emanuele Lombardi


LAS:   	7.0 beta
ferret:  	6.1 Linux(g77) 2.6.9-22. - 03/26/08
tomcat: 	6.0.14

Here the entire las.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE spec SYSTEM "spec.dtd" [
  <!ENTITY operations SYSTEM "operations.xml">
  <!ENTITY insitu_operations SYSTEM "insitu_operations.xml">
<!ENTITY  ATM1958AVG  SYSTEM "lele/ATM1958AVG.xml">
]>
<lasdata>
  <output_dir>/usr/share/tomcat6/webapps/las/output</output_dir>
  <institution name="ENEA" contact="emanuele.lombardi@xxxxxxxxxxxxxxxx" 
url="http://clima.casaccia.enea.it:8080/las"; />
  <properties>
    <ferret> 
         <memsize>128</memsize>
    </ferret>
  </properties>
  <operations 
url="http://giotto.casaccia.enea.it:8080/las/ProductServer.do";>&operations;  
&insitu_operations;</operations>
&ATM1958AVG;
</lasdata>





[Thread Prev][Thread Next][Index]


Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement