virtual memory leak
I hope you can help with this problem.
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?
hope you can help
Are you dumping the content to a database or are you simply leaving everything on memory (stored in variabled, arrays etc)?
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.
|All times are GMT. The time now is 01:10 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0