I think its more a problem with your code - what kind of request
creates 10,000 cfc instances ?

if you see that kind of performance issue in proudction you would have
2 options.
1. refactor the code
2. get better hardware

in this instance (way too many instances junking up memory) id go for
the refactor option, by using caching and pooling to reduce the no. of
instances per request. If i saw too many requests hitting the site id
proly go down the hardware option. If lots of ppl are hitting my site,
hopefully im making money and can afford the hardware upgrade! :)

obviously theres a point that jrun / jvm / java will just grind down
if you create too many of anything in memory. So my response would be
your code isnt a fair test..

also this line of your code looks to be creating a non-scoped object:

ArrayAppend(ret,CreateObject("component","Test").init());

it could be an issue of the garbage collection not working 100% as
expected because of the lack of scope.

I have seen these jrun memory issues in the past and sometimes it will
use heaps of ram to the point the server will fail. However, it doesnt
happen that often in production and when it does its more gradual...

Pat




On Aug 13, 10:04 am, Matthew <[EMAIL PROTECTED]> wrote:
> Hi Andrew,
>
> Did you get an answer to your problem? I can't believe that no one out
> there has an answer! Recently we had a similar problem with JRun using
> up more and more memory until it would crashed. We played around with
> all sorts of things to try to get it fixed. In the end we think it was
> as simple as lowering out simultaneous requests from 20 down to 10.
> Perhaps try that.
>
> Please post your resolution if you find one.
>
> Cheers
> Matthew
>
> On Aug 12, 9:33 am, Andrew Bateman <[EMAIL PROTECTED]>
> wrote:
>
> > Yeah thanks Taco. I have load testing tools available but I was using this 
> > approach to prove a point, ie that ColdFusion was not releasing memory. Not 
> > so much load testing as death testing.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to