I'm writing a php application that indexes web pages. unfortunately the application runs for about an hour and a half before windows shuts down the localhost web server as too much virtual memory is being used.
I don't know about such things so I've posted this thread in beginners section.
the questions i hope you can help with are these:-
1) what causes windows to allocate more virtual memory to a php script?
2) what can be done to stop (free up) this memory during script execution?
everything is going into a database. there are some global variables and session variables that are stored in memory.
I'm unsetting the objects when no longer needed, but still more and more memory is needed for the script.