On Saturday 25 January 2003 15:24, Brandon Goodin wrote: > Say you load a Category Object and that Category contains > 500 items and those 500 items contain on the average of 20 bullet > points. If you are not careful about how you are coding it you will > have 500 Category objects cached in memory along with all of it's > nested objects. That is a lot of overhead to be storing in a cache.
I'm curious about this sort of thing. In the case of objects which are accessed frequently, but seldom change, is 10,000 really all that many? I started up the default install of Resin in jProfiler and clicked through some of the docs and examples. By the time I got bored there were over 250,000 objects in memory, and forcing garbage collection didn't have any effect. Resin was using about 72 megs of RAM. Assuming that sufficient RAM is available, at what point does storing objects in memory become less efficient than creating them each time they're needed? Thanks. Steve -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

