From: Dain S. <da...@da...> - 2001-06-25 21:04:01
|
> >>>I'm just curious what was the passivation cache for? > >>> > >>> > >> > >>Memory management. If your database contains 10 GB and you > only have 1GB > >>of memory, you'll need to swap out some bean based on some > criteria (LRU > >>by default) to make room. > >> > >> > >>-danch > >> > >> > > > > Exactly, so what was the passivation cache? During > passivation we want to > > dump data to make room for new objects. I think I'm > lost... Why would we > > want to cache objects that we are tiring to remove from memory? > > > > -dain > > It's a cache that passivates when it has over a certain > number of object > within it. It doesn't passivate what it's trying to cache, it > passivates > the overage. > So if we remove the passivation cache, do we loose commit Option A? If not, how do we keep bean data alive while passivated? I still may not understand this. -dain |