Any chance of taking portions out of the form handler one at a time?
Does debugging clue you in on anything?

John

-----Original Message-----
From: Brook Davies [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 3:09 PM
To: CF-Talk
Subject: CFMX memory usage on specific page request

I run a web application that handles many form submissions through the
same 'form handler' series of templates.

My application quickly grows to 850 megs memory usage and I have been
trying to figure out where that memory is being used.

Yesterday, I put my form submission handler template in a loop to 100
and I watched the memory grow as soon as it finished by about 100 megs.
I ran it again, for another 100, and it grew by another 100.

What I want to know is, should this happen? The form submission handler
does not cache any queries or add any data to the application scope. Why
does it simply repeated use add to the ram usage? The series of
templates executed includes a number of calls to application scopes
CFC's and a couple that are not in the application scope. There is a
custom tag and a call to the CFX_imsMail tag to send mail. A UDF library
is also includes on each request. But I'm stumped as to why each time it
runs it eats up more and more memory. Is this normal? Or is there
something in this stack of templates that is misbehaving?

Brook
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to