Questions tagged [recycle]

338 questions
5
votes
2 answers

Recycle several application pools in bat file

I'm trying to recycle several of my application pool using commands in a bat file but it doesn't work. This is my file : %windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:AppPool1 %windir%\system32\inetsrv\appcmd recycle apppool…
5
votes
2 answers

What is a difference between DeleteObject() and Recycle() methods for SP.Folder

Could anybody help me to understand a difference between DeleteObject() and Recycle() methods for SP.Folder? I found this documentation, but it's not clear for me. http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.recycle.aspx
Warlock
  • 7,321
  • 10
  • 55
  • 75
5
votes
3 answers

Only Android 4.1, Bitmap is recycled automatically

I've got very critical problem. Only Android 4.1, Bitmap is recycled automatically! I didn't call recycle() in my code! My project works fine in other OS versions( ~ 4.0.3) with any resolutions. Other projects have same problem, too. All image files…
4
votes
1 answer

ListView Virtualization value repeating in Recycling Mode

I have a strange problem with virtualization enabled ListView control. I created a very small pilot app to reproduce the issue. When I type-in something for a few textboxes in the listview and then scrolling down, after a few pages the typed-in…
kexx
  • 275
  • 5
  • 13
4
votes
1 answer

Application_End being called too early/frequently

I am using a temporary database in a project that is disposed on Application_End: protected void Application_End() { if (_db != null) _db.Dispose(); } The problem is that Application_End seems to be called frequently whilst I am browsing…
DevDave
  • 6,700
  • 12
  • 65
  • 99
4
votes
1 answer

IIS application pool recycling and "shutdown time limit" role in overlapping

When recycling happens, I want to move all new request to new w3wp (this is done automatically) and leave the previous w3wp to exit when it gets idle (whatever time it takes). There's a shutdown time limit config for application pools (I use IIS…
Xaqron
  • 29,931
  • 42
  • 140
  • 205
4
votes
2 answers

ASP.NET Application Pool Recycling Issue

I have a Web Project setup that has both my WebForms and a WCF service. I am having an issue where every so often my application seems to recycle and i lose all singleton objects and session values. It does not appear to be a timeout issue, but…
Josh Danko
  • 123
  • 9
4
votes
2 answers

AccessDenied Exception on AppPool properties, cannot call ApplPool.Recycle() - C#

Running on Windows Server 2012 R2 Standard, with IIS 8.5.9600 In C#, after setting up a site, I'm retrieving the DefaultAppPool from the site. Upon retrieval of the pool, the following properties have exceptions on them: appPool.State: Access is…
A.G.
  • 2,089
  • 3
  • 30
  • 52
4
votes
0 answers

Is ApplicationInitialization sufficient alone to replace PreLoadEnabled?

IIS 8.0 onwards, There are two properties, PreLoadEnabled which fakes a request to specified page to start web application. ApplicationInitialization module, initializes and fakes request in case of app pool recycle or crash. Now if I setup…
Akash Kava
  • 39,066
  • 20
  • 121
  • 167
4
votes
5 answers

Recycle Freed Objects

suppose I need to allocate and delete object on heap frequently (of arbitrary size), is there any performance benefit if instead of deleting those objects, I will return it back to some "pool" to be reused later? would it give benefit by reduce heap…
uray
  • 11,254
  • 13
  • 54
  • 74
4
votes
3 answers

Android telling me my bitmap is recycled before I've actually recycled it

I'm getting my bitmap like so from XML: //Get bitmap from drawable bd = (BitmapDrawable) view.getResources().getDrawable(R.drawable.backgrounds); backgrounds = bd.getBitmap(); //Do required work with bitmap (Will just use a log statement here for…
Zippy
  • 3,826
  • 5
  • 43
  • 96
4
votes
2 answers

setSelected() works buggy with ListView

I'm trying just to make clicked items of ListView to change background. But it seems to me not actually possible. there are lots of posts with examples of doing that but none of them works reliably. As I understood - it's somehow related to…
4
votes
3 answers

When to recycle bitmap in android project?

I have successfully implemented lazy loading of list images and list items in Android listview. I am using Android 4.0+ and Java 7. The algorithm i followed is: List data(including image URL) is downloaded from internet as and when user scrolls the…
Somesh Gupta
  • 277
  • 1
  • 4
  • 20
4
votes
1 answer

Recycle bitmaps on a listview causes issues

I got a list view where im displaying images, these images are downloaded and cache properly. As I scroll down the list and load new items I want to recycle the least recently used ones to save on memory. I have successfully implemented the LRU Map…
aldroid
  • 63
  • 2
  • 8
4
votes
2 answers

GLSurfaceView.Renderer crashes when resuming because "bitmap is recycled"

once again I need some help: yesterday I asked this question that was about the way to use a large jpg image as a Bitmap (http://stackoverflow.com/questions/13511657/problems-with-big-drawable-jpg-image) and I resolved myself (Is my own response on…
JxXx
  • 111
  • 1
  • 7