Skip to main content
Participant
April 14, 2010
Question

cfimage stack overflow

  • April 14, 2010
  • 2 replies
  • 291 views

My users upload images which I use cfimage to resize etc. H

owever after about 1000 images I get a stack overflow error. Restarting CF does not work, I have to restart t

he entire server.

Is there any way I can clear the "stack" without restarting? I run an online dating site and restarting every day is not really an option.

    This topic has been closed for replies.

    2 replies

    Inspiring
    April 15, 2010

    Can you provide some code that replicates this?

    --

    Adam

    BKBK
    Community Expert
    Community Expert
    April 15, 2010

    The number of images shouldn't matter. This seems to imply that your application is keeping track of the images, or of the image processing procedure, in some way.

    Find out where. For example, arrays, structs, objects or threads created during the image processing. Look out also for loops that could be generating large amounts of data.