in reply to CGI::Application + mod_perl =|!= memory leak
However, you should not see any growth if you just keep loading the same file over and over again. If that's what you see, then you may have a bug somewhere.
The second thing to understand is that this is probably a bad idea. Why serve a static image from your dynamic script? Why not simply redirect or serve it straight from apache?
If you really must serve the image yourself, look at Apache::File. There's an example of using it in the Eagle book.
|
|---|