I have written an app in apache asp, which uses embedded perl in the asp pages. I have realized...after I have finished the project, that the pages allocate memory from the server, even after you close the pages. As I go to my webpages, the memory used grows and grows, even if it is the same page I am accessing.
I was wondering if by using strict or using lexical variables would solve these issues, or if there was another way to deallocate the memory from the perl variables.
An example...my first page, makes my httpd process jump from 11 MB to 12 MB, when viewing memory usage in "top"(linux). The second page I access, jumps memory usage up to 22MB. Each page after that, continues to increase memory usage.
Before I put this into a true production environment, I need to figure out why the memory is being held.
Any answers or suggestions are appreciated!