Questions tagged [recycle]
338 questions
81
votes
2 answers
Linux PID recycling
Is there any policy in Linux as to the recycling of used PIDs ? I mean, if a PId has been used, how much later will it be used again ?

Cygnus
- 3,222
- 9
- 35
- 65
69
votes
2 answers
RecyclerView does not Recycling Views when use it inside NestedScrollView
I'm using RecyclerView inside NestedScrollView. Also i set setNestedScrollingEnabled to false for recyclerview
to support lower API
ViewCompat.setNestedScrollingEnabled(mRecyclerView, false);
Now! When user scrolled the view every thing seems okay,…

MAY3AM
- 1,182
- 3
- 17
- 42
62
votes
11 answers
Canvas: trying to use a recycled bitmap android.graphics.Bitmap in Android
I am working on the crop image class, but encounter a recycled bit map problem:
03-02 23:14:10.514: E/AndroidRuntime(16736): FATAL EXCEPTION: Thread-1470
03-02 23:14:10.514: E/AndroidRuntime(16736): java.lang.RuntimeException: Canvas: trying to use…

user782104
- 13,233
- 55
- 172
- 312
53
votes
6 answers
How to check app pool last recycled
is it possible to check when i recycled the app pool last time, i want to check the date when my app pool was last recycled, is there anything in IIS i can get this info.

Abbas
- 4,948
- 31
- 95
- 161
46
votes
4 answers
IIS App Pools - Stop/Start vs Recycle
I've noticed that on one of my production web apps, when I manually recycle an app pool, the recycled worker process can take upwards of 60+ seconds to actually be completely destroyed, based on watching it in Task Manager. However, if I stop the…

Daniel Schaffer
- 56,753
- 31
- 116
- 165
38
votes
5 answers
How to prevent an ASP.NET application restarting when the web.config is modified?
I'm hosting the ASP.NET runtime via the ApplicationHost.CreateApplicationHost method. When I modify the web.config while the application is running, i see lots of first chance ThreadAbortExceptions thrown. This is right before my application comes…

Jacob Stanley
- 4,704
- 3
- 33
- 36
34
votes
4 answers
What are optimal settings for Recycling of Application Pools in IIS7 in shared environment?
What are optimal settings for Recycling of Application Pools in IIS7 in a shared environment?

GrZeCh
- 2,332
- 8
- 29
- 38
30
votes
7 answers
How to make RecyclerView stops recycling defined positions?
My problem is: I have a video streaming happening on one of the views inside the RecyclerView.
When the user scrolls, the view gets recycled and other cameras starts their own streaming on that recycled viewholder. This is bad for user interface…

Daniel Oliveira
- 8,053
- 11
- 40
- 76
29
votes
7 answers
How are people solving app pool recycle issues on deployment with large apps?
Currently after a build/deployment of our app (58 projects, large asp.net MVC 3 front end) takes ~15-20secs to load as it goes through the whole 'recycling the app pool' (release configuration).
We do have a web farm if that alters people's answers,…

Terry_Brown
- 1,408
- 10
- 24
29
votes
5 answers
Why isn't IIS cleaning up the old worker processes (w3wp.exe) on pool recycle leading to website out of memory exception?
I have an asp.net-mvc site and recently I am getting an out of memory exceptions on my web server. I only have 1 application pool and we recent set IIS to recycle after it hits a certain limit. I went in the other day and saw 4 w3wp.exe processes…

leora
- 188,729
- 360
- 878
- 1,366
23
votes
3 answers
In Rails 3, I'm getting a NoMethodError for the recycle! method during testing
I've got a functional test that's using fixtures. I also am using fixtures in my Unit tests, but they work without flaw. When running the functional tests, I get a:
NoMethodError: undefined method 'recycle!' for #
…

the_gastropod
- 357
- 1
- 2
- 9
23
votes
3 answers
Does Windows 7 recycle process id (PID) numbers?
I have this little test program that tracks PID's as they are created and shut down.
I am investigating a problem that my program has found and would like to ask you about this
in order to have a better idea on what's going on.
When a windows…

DraxDomax
- 1,008
- 1
- 9
- 28
20
votes
1 answer
Android: "trying to use a recycled bitmap" error with temporary Bitmaps
My app can load quite large images. In an effort to be memory-conservative, I'm attempting to use a temporary bitmap to load and another for the final image after transformation:
.....
finalBitmap.recycle();
finalBitmap = null;
Bitmap tempBitmap =…

MartyMacGyver
- 9,483
- 11
- 47
- 67
20
votes
2 answers
Drawable vs Single reusable Bitmap better with memory?
As I understand it (not that I'm correct) Drawables are generally correctly removed from memory when the application is finished with them. Bitmaps however need to be manually recycled, and sometimes even have a special class written to handle them…

While-E
- 1,527
- 2
- 20
- 37
19
votes
4 answers
Is it needed to call Bitmap.recycle() after used (in Android)?
According to Android Reference Document of Bitmap.recycle():
Free the native object associated with this bitmap, and clear the
reference to the pixel data. This will not free the pixel data
synchronously; it simply allows it to be garbage…

Marton_hun
- 584
- 2
- 7
- 18