Questions tagged [recycle]

338 questions
8
votes
1 answer

IIS 7.0 Application Pool Recycling log files

Which event log files does the IIS 7.0 Application Pool Recycling log to? I want to check out at what time the default app pool automatically recylces.
Julius A
  • 38,062
  • 26
  • 74
  • 96
8
votes
3 answers

data.table avoid recycling

I'm constructing a data.table from two (or more) input vectors with different lengths: x <- c(1,2,3,4) y <- c(8,9) dt <- data.table(x = x, y = y) And need the shorter vector(s) to be filled with NA rather than recycling their values, resulting in…
Steffen J.
  • 694
  • 5
  • 16
7
votes
2 answers

Asynchronous download of Bitmaps in an Adapter, with emphasis on Bitmap.recycle()

Could someone tell me how to make a good mechanism for async. download of images for use in a ListView/GridView? There are many suggestions, but each only considers a small subset of the typical requirements. Below I've listed some reasonable…
kaay
  • 1,083
  • 1
  • 12
  • 31
7
votes
5 answers

Python numpy equivalent of R rep and rep_len functions

I'd like to find the python (numpy is possible)-equivalent of the R rep and rep_len functions. Question 1: Regarding the rep_len function, say I run, rep_len(paste('q',1:4,sep=""), length.out = 7) then the elements of vector ['q1','q2','q3','q4']…
Raw Noob
  • 81
  • 1
  • 3
7
votes
1 answer

What is the best way to force an Application Start when an Application Pool is recycled?

I'm wondering if there is a way to automagically fire off an Application Start for a web site/application whenever the Application Pool for that site is recycled? Are there any canned solutions for this problem? I would really like to avoid having…
Joseph
  • 25,330
  • 8
  • 76
  • 125
7
votes
1 answer

Stop IIS 7.5 Application Pool Recycling

How do stop application pools from recycling in IIS 7.5? I have configured the following settings: ProcessModel -> Idle Time-out (minutes) = 0 Recycling -> Regular Time Intervals (minutes) = 0 Are these settings enought to stop an application pool…
DMcKenna
  • 862
  • 2
  • 8
  • 15
7
votes
4 answers

IIS Recycle Global.asax

Is it possible to catch an recycle event in the global.asax? I know Application_End will be triggered but is there a way to know that it was triggered by a recycle of the application pool? thx, Lieven Cardoen aka Johlero
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
7
votes
1 answer

What does calling bitmap.recycle() on API 11+ do?

I know that before API 10 of Android, it was important to call recycle() for Bitmaps that aren't used anymore, since the actual raw data is stored in the native memory. However, as of API 11, Bitmaps are stored in the heap, so my question is: Is it…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
6
votes
1 answer

Why recycling is not working?

We have a desktop application, in which we have a ListView, the ListView.ItemTemplate is a KPageScrollViewer which extends ScrollViewer Although we set VirtualizingStackPanel.IsVirtualizing="True" and …
simo
  • 23,342
  • 38
  • 121
  • 218
6
votes
1 answer

Drag and drop, ListView and item Views that miss the ACTION_DRAG_STARTED event

On Android, I use a ListView and I want to be able to reorder its items using drag and drop. I know there are different implementation of a "drag and drop listview", however I want to use the Drag and Drop framework coming since API level 11. It…
Vincent Hiribarren
  • 5,254
  • 2
  • 41
  • 65
5
votes
2 answers

EditText in ListView without it recycling input

Still new to android and even more to custom cursor adapter so I'm having trouble understanding how to prevent my listview from recycling views to prevent input from one edittext to show up in another when scrolled. I've seen on other post saying…
maebe
  • 553
  • 1
  • 6
  • 18
5
votes
2 answers

Does recycling the IIS7 application pool kill any currently executing requests?

Does recycling the IIS7 application pool kill any currently executing requests? Or does it wait for all requests to complete (like a drain-stop)? I don't want the recycling rules to cause intermittent errors from my WCF sites. Thanks
sheikhjabootie
  • 7,308
  • 2
  • 35
  • 41
5
votes
0 answers

Running ASP.Net Core Background Tasks after AppPool Recycling

I have an asp.net core application running on windows server. This is using some background tasks for using external service to get the data. We are facing an issue that after our app pool recycled/restarted, the background task is not running. This…
Shibu S R
  • 153
  • 1
  • 8
5
votes
1 answer

WPF ListBox VirtualizingStackPanel.VirtualizationMode="Recycling" causes same list items to always appear

I'm using WPF/.NET 4 and when I add the VirtualizingStackPanel.VirtualizationMode="Recycling" property to my ListBoxes, it causes the same list items to be repeated over and over when scrolling. For example, let's say I have a ListBox with 100…
deadlydog
  • 22,611
  • 14
  • 112
  • 118
5
votes
5 answers

Subclassing SimpleCursorAdapter to include convertView for memory conservation

I've been scouring throug the examples and tutorials but I can't seem to get my head around how to handle recycling within a subclassed SimpleCursorAdapter. I know that for regular ArrayAdapters you can check convertView for null and inflate if…
Shawn
  • 2,406
  • 1
  • 26
  • 31
1 2
3
22 23