xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nith...@free.fr
Subject Re: Transcoder & TileCache
Date Thu, 28 Jan 2010 06:36:42 GMT
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" <gteckhua@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, < nithril@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-unsubscribe@xmlgraphics.apache.org 
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org 



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


Mime
View raw message