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 / Caching / September 2006

Tip: Looking for answers? Try searching our database.

Cache Issues in Asp 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve F - 04 May 2006 16:32 GMT
When running an Asp.Net 2.0 web application
any items that I add to the cache are being removed almost instantly
with a reason of underused. I know this as I have hooked up a delegate
that is invoked when the cached item is removed.

If I set the priority to be NonRemoveable this does not happen however
this leaves the application in danger of taking up large amounts of
memory and is not really an 'workaround'.

Anyone else seen or heard this problem????
Göran Andersson - 06 May 2006 13:23 GMT
This is probably due to having too little free memory. The server will
throw away cached items when it needs to free up more memory.

> When running an Asp.Net 2.0 web application
> any items that I add to the cache are being removed almost instantly
[quoted text clipped - 6 lines]
>
> Anyone else seen or heard this problem????
Matt Morgan - 15 Jun 2006 19:33 GMT
I have experienced this problem since upgrading to 2.0.  Others have
commented on it elsewhere.  I don't think this is simply a problem with "too
little free memory".

http://www.hightechtalks.com/asp-net-caching/asp-net-2-0-caching-37434.html

In my case, there are times where objects inserted into the cache instantly
disappear.  This does not seem to have any correlation to the amount of free
memory on the system.

> This is probably due to having too little free memory. The server will
> throw away cached items when it needs to free up more memory.
[quoted text clipped - 9 lines]
> >
> > Anyone else seen or heard this problem????
wyx2000 - 10 Sep 2006 10:56 GMT
Try reset your service broker in SQL 2005

Alter database thedb set new_broker

> I have experienced this problem since upgrading to 2.0.  Others have
> commented on it elsewhere.  I don't think this is simply a problem with "too
[quoted text clipped - 19 lines]
> > >
> > > Anyone else seen or heard this problem????

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.