I am using asp.net and vb code behind to build a website with multiple update panels. The purpose of this is the continually update charts in the panels at a frequency of 1 second intervals. The code works fine until it runds for about 17 to 20 minutes. At that point I get an out of memory message from the web page - 'out of memory at line 1301'.
I have tried clearing memory out of cache by using the following in page load:
I have tried the above cache removal code for each control and for the page in which I have the update panels. They have no effect at all.
I have also tried setting the 'EnableEventValidation="False"'
1. Is this asp.net code line 1301 or vb code behind?
2. Is cache automatically loaded into memory even though I am not programmatically loading any into cache?
3. Why does the Cache.Removal code have no effect?
What else can I try?
Can anyone help?
Thanks in advance.