Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Hashtable in Cahe seems to have items removed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bloodsugarsuckerfish - 07 Mar 2008 12:24 GMT
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
Sergey Zyuzin - 07 Mar 2008 17:11 GMT
On Mar 7, 2:24 pm, bloodsugarsuckerfish
<bloodsugarsuckerf...@googlemail.com> wrote:
> Hi all,
>
[quoted text clipped - 12 lines]
>
> 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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.