A reasonable level in my opinion would be below 1MB. What started me
on this crazy venture to begin with was the fact I was getting some
really big numbers (around 20MB) in Mach-II when I started up one
small application. Now the more listeners I added that number seemed
to jump even higher, so What I did in essence (call me crazy) was to
recreate the basic plumbing of Mach-II (no xml, no modules, nothing
fancy) where you have a Primary component (like the application
manager) and secondary child components (like the plugin manager) that
takes a copy of the Primary component for reference. I added a basic
BaseComponent, some other simple linkages and presto all working. I
created some components and got some really strange readings,
especially when I initialized over 30 dumb components. I did this to
see if I could recreate the same behavior with a more simplistic test.
After that little adventure I reverted to the original framework,
added about 10 dummy listeners, 7 dummy Plug-ins and the application-
scope memory jumped to over 200MB. I carried out a test on the
Plugin.cfc which extends the BaseComponent.cfc and calls the
"super.init(appManager, parameters)" function. What I've noticed is
that whenever I remove the reference to the application manager, the
size of the application decreased significantly.
Peter or Matt, I really think this is worth checking out and running
your own test. I sincerely hope I am wrong and this is nothing more
than a glitch on my end, that is the genuine truth.
Now I don't think this will cause a system crash under heavy load as
long as the system has moderate memory capacity. Mach-II load size
doesn't really grow once the entire application was initialized,
however I don't know how this would hold up with multiple large
applications on a single server given what I've just experienced.
On May 17, 4:27 pm, "Brian Kotek" <
brian...@gmail.com> wrote:
> What is a "reasonable level"? If you're really seeing 20 Mb of application
> scope usage then I'd say something else is going on. In my experience, even
> large apps with lots of application-scoped component instances rarely gets
> above 100k.
>
> On Sat, May 17, 2008 at 11:12 AM, Hussein Grant <
hussein.gr...@gmail.com>