CFClasses filling up

0 views
Skip to first unread message

Rahiem

unread,
Jul 1, 2009, 12:59:23 PM7/1/09
to ColdSpring-Users
I have a password reset application that uses coldspring aop for the
passwordService object. The problem I am facing is that with every hit
to the passwordService, approximately 45 class files are generated
which results in the server running out of disk space. On average I
have about 400-500 password resets per day. Does anyone have any idea
on how to solve this problem?

Dan Wilson

unread,
Jul 1, 2009, 2:37:26 PM7/1/09
to coldspri...@googlegroups.com
Have you considered scope leakage?  Do/Have you run the varscoper tool (http://varscoper.riaforge.org) against your code?



--
“Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew.”

Guillaume Apollinaire quotes

Mark Mandel

unread,
Jul 1, 2009, 5:50:37 PM7/1/09
to coldspri...@googlegroups.com
Are you recreating the PasswordService every time? (or ColdSpring for that matter)

It should probably be a singleton.

Mark
--
E: mark....@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

Rahiem

unread,
Jul 1, 2009, 11:34:07 PM7/1/09
to ColdSpring-Users
Thanks Dan and Mark. We found the problem. The other developer made a
mistakenly had re-initialization code in the front-end cfml template
and was not invoking the singleton.

On Jul 1, 5:50 pm, Mark Mandel <mark.man...@gmail.com> wrote:
> Are you recreating the PasswordService every time? (or ColdSpring for that
> matter)
>
> It should probably be a singleton.
>
> Mark
>
>
>
>
>
> On Thu, Jul 2, 2009 at 4:37 AM, Dan Wilson <sipac...@gmail.com> wrote:
> > Have you considered scope leakage?  Do/Have you run the varscoper tool (
> >http://varscoper.riaforge.org) against your code?
>
> > On Wed, Jul 1, 2009 at 12:59 PM, Rahiem <rahiemburg...@gmail.com> wrote:
>
> >> I have a password reset application that uses coldspring aop for the
> >> passwordService object. The problem I am facing is that with every hit
> >> to the passwordService, approximately 45 class files are generated
> >> which results in the server running out of disk space. On average I
> >> have about 400-500 password resets per day. Does anyone have any idea
> >> on how to solve this problem?
>
> > --
> > “Come to the edge, he said. They said: We are afraid. Come to the edge, he
> > said. They came. He pushed them and they flew.”
>
> > Guillaume Apollinaire quotes
>
> --
> E: mark.man...@gmail.com
Reply all
Reply to author
Forward
0 new messages