From: Jeremias Maerki Date: Tue, 21 Oct 2008 10:13:27 +0000 (+0000) Subject: Reluctantly added a note about how to clear the image cache. X-Git-Tag: fop-1_0~399 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=575d345ab749902b13fd2b76c5f80335c2067273;p=xmlgraphics-fop.git Reluctantly added a note about how to clear the image cache. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@706570 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/0.95/graphics.xml b/src/documentation/content/xdocs/0.95/graphics.xml index dce05aa47..5ecca1ea8 100644 --- a/src/documentation/content/xdocs/0.95/graphics.xml +++ b/src/documentation/content/xdocs/0.95/graphics.xml @@ -554,10 +554,14 @@ changing dummy parameter on the URI to avoid caching.

- The image cache has been improved considerably in the redesigned code. Therefore, a - resetCache() method like in earlier versions of FOP has become unnecessary. If you + The image cache has been improved considerably in the redesigned code. Therefore, + resetting the image cache should be a thing of the past. If you still experience OutOfMemoryErrors, please notify us.

+

+ If all else fails, the image cache can be cleared like this: + fopFactory.getImageManager().getCache().clearCache(); +

diff --git a/src/documentation/content/xdocs/trunk/graphics.xml b/src/documentation/content/xdocs/trunk/graphics.xml index dce05aa47..5ecca1ea8 100644 --- a/src/documentation/content/xdocs/trunk/graphics.xml +++ b/src/documentation/content/xdocs/trunk/graphics.xml @@ -554,10 +554,14 @@ changing dummy parameter on the URI to avoid caching.

- The image cache has been improved considerably in the redesigned code. Therefore, a - resetCache() method like in earlier versions of FOP has become unnecessary. If you + The image cache has been improved considerably in the redesigned code. Therefore, + resetting the image cache should be a thing of the past. If you still experience OutOfMemoryErrors, please notify us.

+

+ If all else fails, the image cache can be cleared like this: + fopFactory.getImageManager().getCache().clearCache(); +