Questions tagged [recycle]

338 questions
2
votes
3 answers

Why does the Android View API care about an ArrayAdapter's getViewTypeCount?

I've been learning about creating custom ArrayAdapters and have familiarized myself with overriding an ArrayAdapter's getViewTypeCount and getItemViewType methods. Why does the Android View API care about the 'number of possible view types' returned…
ybakos
  • 8,152
  • 7
  • 46
  • 74
1
vote
1 answer

IIS Process Recycled When Thread Running

There is an ASP.NET Web App , some of it's modules are implemented by threads(C#). When the threads are running , What does it result to if IIS Process Recycled ?
WangHu
  • 11
  • 1
  • 4
1
vote
1 answer

How can I overcome a slow loading application with several app pools in IIS 7?

How can I overcome a slow loading application with several app pools in IIS 7 ? And not have requests wait for the server to load (in case of recycling) and create a queue. But have the server loaded while hitting recycle condition before the first…
Oshrat
1
vote
1 answer

recycle bitmap ice cream sandwich force close

In my ondestroy method, I recycle all the bitmaps I've used to free up memory and keep the app from crashing during screen rotations. This has proven to be the right thing to do for all apis until ice cream sandwich (android 4.0). now, when I rotate…
1
vote
1 answer

Moodle IIS Crash

I have a fresh install of Moodle 2.1, PHP v5.3, Windows Server 2008 R2, IIS, MySQL, 3GB Ram, 4 CPUs. I use Moodle as a VLE for a School, but have recently been having problems with it not responding (the browser just sits & loads, until eventually…
Phil
  • 11
  • 2
1
vote
1 answer

How to handle mobile number recycling by telephone companies?

I need to implement one user ID for one user. After looking around, closest I can see is using mobile phone numbers to text. Assuming this is best available method How to handle mobile number recycling by telephone companies? Any ideas? Following is…
SaGa
  • 11
  • 1
1
vote
1 answer

Using Java can I programmatically undelete a file under Windows?

I'm successfully using Desktop.getDesktop().moveToTrash(File) under MacOS to delete files and then retrieve them from the Trash folder. I'd like to do the same under Windows. But I don't see a native Java way to access to Recycle Bin so I can…
mstoreysmith
  • 81
  • 1
  • 5
1
vote
1 answer

App Pool recycled because "Overwhelming Change Notification"

MY app pool has been recycling on its own recently because "Overwhelming Change Notification" on a folder which only has images. I didnt think that .Net would be dynamically compiling images. Can anyone shed some light on this? Thanks
XOR
  • 11
  • 1
1
vote
2 answers

IIS 10 application pool slow initialization times after recycle

we have an application pool that has a slower initialization time after an app pool recycle in IIS 10. (around 5-7 seconds after recycle then 30-50 ms after the first request.) I have done some research and found that the "Application…
howdymars
  • 11
  • 2
1
vote
1 answer

When do static objects in WCF server get disposed?

Here is my scenario: I have a static object which will connect to a concurrent license service to get a license. I will need this license on some of the non-static methods in my WCF service. The problem here is, I know this static object will…
Him
  • 373
  • 1
  • 2
  • 15
1
vote
1 answer

Are WALs containing large active transactions recycled after a checkpoint?

Are WALs containing large active (not committed) transactions recycled after a checkpoint ? I think yes but i'm not sure... Normally with MVC strategy not committed transactions are stored in new lines versions. So after a checkpoint active…
1
vote
2 answers

Android bitmap recycle: need to set null?

Is it necessary to set a Bitmap to null after recycling it, so that its memory can be freed? In the following code: private static Bitmap bmpConcatHV() { Bitmap bmp = BitmapFactory.decodeResource(resId); Bitmap bmp2 = concatVertically(bmp,…
activity
  • 2,653
  • 3
  • 20
  • 44
1
vote
3 answers

Scaling images in Android causes OutOfMemory exception

I'm developing an Android game consisting of many images as sprites. When I load the images the following way: public static Bitmap loadBitmap(int resId) { return BitmapFactory.decodeResource(getResources(), resId, options); } everything…
Bart
  • 147
  • 12
1
vote
1 answer

Recycle all application pools at a specific time

How do I set the recycling for a specific time for all of my current and future application pools in the IIS Manager. I have tried to achieve this by going under Set Application Pool Defaults -> Recycling -> Specific Times, but this doesn't affect…
user3369534
  • 125
  • 1
  • 7
1
vote
1 answer

Recycle the Bitmap of a BitmapShader

What would be the correct (recommended) way to recycle/release the bitmap of a BitmapShader? Should we keep a reference of the bitmap and once the BitmapShader is no longer in use then to call bitmap.recycle()? Looking at the BitmapShader source,…
PerracoLabs
  • 16,449
  • 15
  • 74
  • 127