Sep 21, 2007, 8:33 AM
Post #1 of 2
In my code, I read information from MySQL database, grab a web page (using LWP) from the Internet, analyze the content, store something to the database, and grab the next page. This operation may repeat many times.
Strange memory leak question. Please help!
But I found that the memory was continuously consumed and program crashed finally due to "out of memory". Although memory should be released after each web page is analyzed.
What I have done is to delete all the arrays after they are useless. But the problem is still there.
Could anybody give me some suggestions about the possible reasons? The code is long so I won't want to post it here. Do I have to release LWP objects too?