On Mar 7, 2:24*pm, bloodsugarsuckerfish
<bloodsugarsuckerf...@googlemail.com> wrote:
> Hi all,
>
> I have in the ASP.NET cache a Hashtable of items. What seems to be
> happening,is that some of the actual entries in the hashtable are
> being removed, perhaps under memory pressure, when what I would have
> expected is that the actual hashtable be removed.
>
> I cannot see an other reason that the items would be removed, other
> than by the Cache itself.
>
> Has anyone else experienced this, is t expeced behaviour, or am I
> missing something?
>
> Thanks
>
> Rich
Hi Rich,
I don't think entries can just disappear.
If you are sure your code doesn't delete entries, I can only suppose
that this might be a multithreading problem. Do you access your
hashtable in a thread-safe way?
Thanks,
Sergey
|