I have already test and it doesn't disable the cache.

The list of free entries is initialized at construct with 50 entries. 

The setsize removes entries in the list of used entries. It doesn't decrease 
the size of the free entries.



----- Mail Original -----
De: "Teck Hua Lee" <gteck...@gmail.com>
À: batik-users@xmlgraphics.apache.org
Envoyé: Jeudi 28 Janvier 2010 06h47:33 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: Transcoder & TileCache

Calling TileCache.setSize(0) should effectively disable the cache. 

http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/ext/awt/image/rendered/TileCache.html#setSize(int)
 



On Wed, Jan 27, 2010 at 5:57 PM, < nith...@free.fr > wrote: 


Hello, 

I'm currently using JPEGTranscoder to rasterize SVGs inside a webapp. 

My webapp memory increase after each conversion because batik cache some data 
inside TileCache. 

Does this cache could be disabled ? 

Thanks for your help, 

Nicolas 

--------------------------------------------------------------------- 
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org 
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org 



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org

Reply via email to