Hi Luis,
A. Mark Mandel is working on a pluggable cache for Transfer with the
default being EHCache. I've been playing around with it and stumbled
onto a problem where every time I "reinit" my coldbox app, a new
instance of EHCache is created. If I "reinit" often enough, I run out
of memory.
Mark has found the cause and it appears that EHCache has to be stopped
when the application stops. He's still working on the implementation
but I wanted to bring it up here as the built in Colbox Transfer
support will likely have to call whatever "shutdown" implementation
Mark uses when an app is reinit to prevent the memory problems I
experienced.
Just wanted to bring it up now for what I presume will become the
future version of Transfer.
B. From the Transfer mailing list:
http://groups.google.com/group/transfer-dev/browse_thread/thread/19e192eb9cedabed?tvc=2
"I'll expose the EHCacheManager through the CacheMonitor (which is the
last
thing on the Monitor I need to do), but I'm wondering if it makes more
sense
to have a TransferFactory.shutdown() method as a general method, which
calls
similarly on the CacheProvider, that needs to be called
onApplicationEnd...
or if it's worth simply doing this by a cache by cache basis through
the
CacheMonitor."
Thank you,
Gabriel