--- Finn Bock <[EMAIL PROTECTED]> wrote: > > Yes, but I would like to take the question a bit > further and ask where > such information should be cached? Storing it in > static variables caches > it in the classloader which makes it difficult to > control the release of > the memory. >
Hmmm...where would this matter? Single-use command line would still be fine (instantly release after running.) As for servlet use, indeed it wouldn't be released after every run of a document--but I don't think you would want it released here. This information is needed for every run of a new document, correct? Also, while it is certainly a lot of data, overall its memory usage may not be that big a deal. Glen > Perhaps it would be better to store the information > in the Driver or > FOUserAgent, IOW to put the caching under user > control. > > If caching at the classloader level is the best way > to do it, then it > makes perfect sense to do what you suggest. > > regards, > finn > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/