Questions tagged [recycle]

338 questions
2
votes
1 answer

IIS 7.5: Initial request to website never gets loaded

When I browse my website first time, internet keeps spinning/loading. If I two seconds later try to load it again, everything works fine. It's like it's "sleeping". I think it must have something to do with "recycling". I have set "Idle time-out" to…
MojoDK
  • 4,410
  • 10
  • 42
  • 80
2
votes
1 answer

Start Stop IIS Application Pool

I found this code: using System.DirectoryServices; ... void Recycle(string appPool) { string appPoolPath = "IIS://servername/W3SVC/AppPools/" + appPool; using (DirectoryEntry appPoolEntry = new DirectoryEntry(appPoolPath)) { …
Drakoo
  • 307
  • 1
  • 3
  • 15
2
votes
1 answer

Azure Web Role Recycle Itself after running for weeks?

I am new to Microsoft Azure and working on a MVP for a client. I am able to successfully deploy my ASP.NET MVC web app to a Web Role. The issue I'm facing is that Azure Web Role seems to recycle itself and revert to the deployment package. This…
Manoj Garg
  • 21
  • 1
2
votes
1 answer

Get Specific Recycling Time For IIS With PowerShell

I'm trying to find the specific time that my app pool is set to recycle on my server using PowerShell. I know it's set to recycle at 1 AM daily on the test server that I'm looking at. I'm running: Get-ItemProperty -Path IIS:\AppPools\AppPool -Name…
Christopher Cass
  • 817
  • 4
  • 19
  • 31
2
votes
1 answer

Android: Handle ListView Recycle

I am developing a soundboard application in which I use Listview Activity. But since Listview of Android has the property of recycling its listviews, the changes I make to the selected textview gets reflected in all the pages while scrolling the…
Vivek
  • 4,526
  • 17
  • 56
  • 69
2
votes
1 answer

Why selection update not working when I pass them into another function?

I want to use selection repeatedly. but update method not working. why this happen? Does first selection can't accept more than two data binding sequentialy? // 1. prepair data var enterData = [120, 70, 300, 80, 220]; var updateData = [300, 0, 30,…
Youngsoo Yi
  • 191
  • 1
  • 5
2
votes
3 answers

How to recycle my asp.net web application in production server?

I have made changes to my global.asax file so i want to recycle my web application to make the changes work. How to safely recycle my asp.net web application in production server? Any ideas..
ACP
  • 34,682
  • 100
  • 231
  • 371
2
votes
2 answers

RuntimeException on widget that has a Bitmap (Android)

my app has widgets that have an ImageView and a TextView. On the onUpdate() method of the WidgetProvider, I put a Bitmap inside the ImageView this way: Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(),…
gskbyte
  • 467
  • 3
  • 13
2
votes
1 answer

Does the RecyclerView recycle Bitmaps stored within ImageViews

I am trying to track down a bug where an ImageView is using a recycled Bitmap, my question is will the RecyclerView automatically recycle my Bitmaps when the ViewHolder is recycled? Cheers!
bdavies6086
  • 382
  • 1
  • 5
  • 19
2
votes
1 answer

IIS recycle causes error in static dataset access

In the asp.net webservice, I have a static dataset that loads data (synchronized) upon first time access. However, when IIS recycle the app pool, I have exception thrown because of "Collection was modified; enumeration operation might not…
Zhen.Lee
  • 189
  • 8
2
votes
3 answers

Android - Listview/Gridview item selection with scrolling

I am new to android and I have just started programming a simple app to try different things out. I was programming a ListView (and, in the same way a GridView) but there is something I got wrong. Each item is a couple of an image and a text…
Panda_Zero
  • 23
  • 1
  • 4
2
votes
2 answers

Are there any guarantees about when IIS might recycle while processing a 1-way WCF operation?

Background This question is in two parts. I have a one-way WCF operation hosted in IIS 6. The following is my understanding of how this works: _1. IIS receives a request. _2. IIS sends an HTTP 202 response (thanks, I'll process this later). _3. IIS…
Damian Powell
  • 8,655
  • 7
  • 48
  • 58
2
votes
1 answer

Get process ID based on apppool after a recycle

Our apppools recycle at around 02:00 nightly. I want to create a processdump after the recycle but the process ID changes after a recycle. How can i get the process ID of the recycled apppool based on the apppool identity (Username running the…
Tim Ververs
  • 527
  • 9
  • 23
2
votes
1 answer

ListView custom adapter with Universal Image Loader recycles images wrongly

I've tried to implement the recycling that is advised, as you can see in the code below. The reason is that the ListView lagged when scrolling and recycling the Views is what solved it. However it also caused another problem, which is that the…
2
votes
2 answers

Java variable scope - copying bitmaps?

I'm trying to better understand how Java variable scope works and what exactly happens to the underlying data when we do something like the following in a method: this.variable = variable What exactly does this line do? Here is my actual…
Zippy
  • 3,826
  • 5
  • 43
  • 96