1. Thank you. That was not my understanding. I'll set the default even lower now and then tweak the classes that I truly want cached.
2. Aside: I checked my application log and found entries like the one below. I believe this is the same as the strange error that I encountered before except I didn't see it till now because it's running in cfthread. I'll change "local" to something else and observe the application log for changes. "Error","cfthread-11","02/16/10","17:28:11",,"TRANSFER.COM.CACHE.PROVIDER.ABSTRACTBASEASYNCDISCARDPROVIDER.FIREDISCARDEVENT.5368482.3: Element OBJECT is undefined in LOCAL. " - Gabriel On Tue, Feb 16, 2010 at 3:05 PM, Mark Mandel <[email protected]> wrote: > One thing to note: > timeToIdleSeconds and timeToLiveSeconds does NOT impact on memory usage with > EHCache. > > It only affects the life cycle of the object. I.e. if it passes 900 seconds, > it stays in the cache until someone attempts to call it again. At which > point it is checked to see if it is still a 'valid' cache member and > discarded if it has passed its use by date. > > The ONLY thing that controls memory usage is maxElementsInMemory. > > Mark > > > On Wed, Feb 17, 2010 at 7:02 AM, Dorioo <[email protected]> wrote: >> >> Below is what they will be for this round of testing. Only difference >> was that the default cache used to have "2000" elements in memory >> until I realized that was per class. So I lowered it as part of >> testing. >> >> - Gabriel >> >> <defaultCache >> maxElementsInMemory="200" >> eternal="false" >> timeToIdleSeconds="600" >> timeToLiveSeconds="900" >> overflowToDisk="false" >> /> >> >> <cache name="website.siteCategory" maxElementsInMemory="1000" >> timeToIdleSeconds="900" timeToLiveSeconds="1200" eternal="false" >> overflowToDisk="false" /> >> <cache name="website.item" >> maxElementsInMemory="1000" >> timeToIdleSeconds="900" timeToLiveSeconds="1200" eternal="false" >> overflowToDisk="false" /> >> <cache name="website.itemImage" maxElementsInMemory="2000" >> timeToIdleSeconds="900" timeToLiveSeconds="1200" eternal="false" >> overflowToDisk="false" /> >> >> >> On Tue, Feb 16, 2010 at 2:53 PM, Mark Mandel <[email protected]> >> wrote: >> > Gabriel, >> > >> > What are your cache setting for the EHCacheProvider? >> > >> > Mark >> > >> > On Wed, Feb 17, 2010 at 6:51 AM, Dorioo <[email protected]> wrote: >> >> >> >> I have. For example, the very strange "local" error I experienced was >> >> in EHCacheProvider.cfc and so I changed all references in that file to >> >> "local2" and it went away. >> >> >> >> I believe ehCahce lasted longer but ultimately went down. So I've been >> >> using CF9 cache as it goes down the fastest and so easier to gather >> >> data. >> >> >> >> I'll try ehCache again if only to gather a heap dump for it and report >> >> back. >> >> >> >> - Gabriel >> >> >> >> On Tue, Feb 16, 2010 at 2:16 PM, Mark Mandel <[email protected]> >> >> wrote: >> >> > Gabriel - >> >> > >> >> > Why don't you configure and use the EHCache Provider? >> >> > >> >> > Mark >> >> > >> >> > On Wed, Feb 17, 2010 at 6:14 AM, Dorioo <[email protected]> wrote: >> >> >> >> >> >> Having already experienced strange behavior with Transfer and CF9 >> >> >> "local", I just wanted to rule that out. Although, as I look at the >> >> >> leak suspects report in the eclipse memory analyzer, I see >> >> >> references >> >> >> to "instanceFacade.cfc","eventManager.cfc", and "transfer.cfc" so I >> >> >> might be focusing too low level. >> >> >> >> >> >> Maybe I'll switch to 1.1 from pluggable cache and see how long that >> >> >> lasts. If same setup + 1.1 is stable, then cause would be isolated >> >> >> to >> >> >> pluggable cache. >> >> >> >> >> >> - Gabriel >> >> >> >> >> >> >> >> >> > >> >> >> > coldfusion.runtime.LocalScope is not related to the new local >> >> >> > scope >> >> >> > in >> >> >> > CF9. It's just a class that gets used for lots of scopes in CF. >> >> >> > What >> >> >> > are the actual variables that are hanging around in memory? That's >> >> >> > more important than the coldfusion.runtime.Variable wrappers that >> >> >> > you're seeing. >> >> >> > >> >> >> > -- >> >> >> > Before posting questions to the group please read: >> >> >> > >> >> >> > >> >> >> > >> >> >> > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >> >> >> > >> >> >> > You received this message because you are subscribed to the Google >> >> >> > Groups "transfer-dev" group. >> >> >> > To post to this group, send email to [email protected] >> >> >> > To unsubscribe from this group, send email to >> >> >> > [email protected] >> >> >> > For more options, visit this group at >> >> >> > http://groups.google.com/group/transfer-dev?hl=en >> >> >> > >> >> >> >> >> >> -- >> >> >> Before posting questions to the group please read: >> >> >> >> >> >> >> >> >> >> >> >> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >> >> >> >> >> >> You received this message because you are subscribed to the Google >> >> >> Groups >> >> >> "transfer-dev" group. >> >> >> To post to this group, send email to [email protected] >> >> >> To unsubscribe from this group, send email to >> >> >> [email protected] >> >> >> For more options, visit this group at >> >> >> http://groups.google.com/group/transfer-dev?hl=en >> >> > >> >> > >> >> > >> >> > -- >> >> > E: [email protected] >> >> > T: http://www.twitter.com/neurotic >> >> > W: www.compoundtheory.com >> >> > >> >> > Hands-on ColdFusion ORM Training @ cf.Objective() 2010 >> >> > www.ColdFusionOrmTraining.com/ >> >> > >> >> > -- >> >> > Before posting questions to the group please read: >> >> > >> >> > >> >> > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >> >> > >> >> > You received this message because you are subscribed to the Google >> >> > Groups >> >> > "transfer-dev" group. >> >> > To post to this group, send email to [email protected] >> >> > To unsubscribe from this group, send email to >> >> > [email protected] >> >> > For more options, visit this group at >> >> > http://groups.google.com/group/transfer-dev?hl=en >> >> > >> >> >> >> -- >> >> Before posting questions to the group please read: >> >> >> >> >> >> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >> >> >> >> You received this message because you are subscribed to the Google >> >> Groups >> >> "transfer-dev" group. >> >> To post to this group, send email to [email protected] >> >> To unsubscribe from this group, send email to >> >> [email protected] >> >> For more options, visit this group at >> >> http://groups.google.com/group/transfer-dev?hl=en >> > >> > >> > >> > -- >> > E: [email protected] >> > T: http://www.twitter.com/neurotic >> > W: www.compoundtheory.com >> > >> > Hands-on ColdFusion ORM Training @ cf.Objective() 2010 >> > www.ColdFusionOrmTraining.com/ >> > >> > -- >> > Before posting questions to the group please read: >> > >> > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >> > >> > You received this message because you are subscribed to the Google >> > Groups >> > "transfer-dev" group. >> > To post to this group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> > http://groups.google.com/group/transfer-dev?hl=en >> > >> >> -- >> Before posting questions to the group please read: >> >> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >> >> You received this message because you are subscribed to the Google Groups >> "transfer-dev" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/transfer-dev?hl=en > > > > -- > E: [email protected] > T: http://www.twitter.com/neurotic > W: www.compoundtheory.com > > Hands-on ColdFusion ORM Training @ cf.Objective() 2010 > www.ColdFusionOrmTraining.com/ > > -- > Before posting questions to the group please read: > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer > > You received this message because you are subscribed to the Google Groups > "transfer-dev" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/transfer-dev?hl=en > -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en
