Questions tagged [recycle]
338 questions
0
votes
1 answer
Android: Gridview is caching outdated item, how to ensure getview is called for every displaying item upon a reload of the page?
Context:
I have a main activity holding 6 tabs, each tabs holds a gridview with 30+ images, and around 8 images a shown at any moment (each gridview is scollable).
With these many images I implemented a simple caching system, that is to only cache…

bc1118
- 1
0
votes
1 answer
MYSQL/MardiaDB 'recycle bin'
I'm using MardiaDB and i'm wondering if there is a way how to install a 'recycle bin' on my server where if someone deleted a table or anything it gets shifted to the recycle bin and restoring it is easy.
Not talking about mounting things to restore…

CompactCode
- 313
- 4
- 13
0
votes
1 answer
How to recycle elememts when dimensions of two numpy arrays do not matches?
I would like to do something similar to the following R code with numpy, where y is recycled.
R> x=rbind(c(1,2,3), c(4,5,6))
R> y=c(1,2)
R> x/y
[,1] [,2] [,3]
[1,] 1 2.0 3
[2,] 2 2.5 3
Obviously, the following code does not work…

user1424739
- 11,937
- 17
- 63
- 152
0
votes
2 answers
What does it mean to recycle the dynamic memory?
I learned about ‘free’ which is used after malloc not to make garbage memory in C. What’s recycle? I looked up for it but could not find any code. All I got is the explanation about free.. Are they the same?
To add, in my book about data structure…

Alicia May
- 43
- 5
0
votes
0 answers
how to recycle images as frame of AnimationDrawable and solve OutOfMemory error in android?
I want to show some exercises in my android app with ViewPager. i use:
2 imageView ,one of them shows exercises and others shows th counter
AnimationDrawable
as i eun my app,it has been crashed and shows me OutOFMemory error.although android shows…

Mina Dahesh
- 332
- 8
- 21
0
votes
1 answer
Reinitialize recycled Bitmap Android
What I'm trying to do is to reuse a Bitmap after recycling it. For doing that, I know that I have to initialize de Bitmap again, I'm doing it this way after calling recycle():
mapBitmap = Bitmap.createBitmap(map, 0, 0, map.getWidth(),…

Josemafuen
- 682
- 2
- 16
- 41
0
votes
2 answers
Recycle Application Mod_Mono 2.8
I have a CentOS 5.x server running Mono 2.8.1 and mod_mono 2.8 with apache2.
Every time I deploy a site from visual studio 2010 to my server by ftp, and navigate to the site, I get a 404 not found error page.
Sites in other subdomains (virtual…

Darbio
- 11,286
- 12
- 60
- 100
0
votes
1 answer
Recycle work good or not? in onDestroy()
I have question about use my recycle bitmap in imageview.
I use this code for recycle image in imageview.
drawable = imglist1.getDrawable();
if (drawable instanceof BitmapDrawable) {
BitmapDrawable bitmapDrawable = (BitmapDrawable)…

trip07
- 187
- 1
- 8
0
votes
1 answer
User PowerShell to get IIS Recycling Time For Remote Server
I'm trying to create a script to audit the IIS recycling times on a number of remote servers. The script I'm attempting is:
$scriptBlock = {
import-module webadministration
Get-itemproperty -Path IIS:\AppPools\WebPage -Name…

Christopher Cass
- 817
- 4
- 19
- 31
0
votes
0 answers
Recycling objects in Java
In order to reduce GC pauses in Java, I want to recycle objects of a particular class, to the best of my knowledge this can be done by using io.netty.util.Recycler. Unfortunately using io.netty.util.Recycler you need to call recycle each time the…

user1918858
- 1,202
- 1
- 20
- 29
0
votes
1 answer
How to make first row in reycle view Gridlayout and other recycle Linearlayout in android
i want to make Recycle view contain grid and linear manager i tried to use this answer this but it not work with me

ȜAmer Elsayed
- 55
- 1
- 10
0
votes
2 answers
IIS Request Limit Recycling for WCF calls
We have an application pool dedicated to a WCF service that is called infrequently (maybe 15-20 times per day). The calls can take several minutes, however, and the other day we got burned when IIS recycled the app pool while the call was still…

James King
- 6,233
- 5
- 42
- 63
0
votes
2 answers
Losing session in asp.net
Hi and sorry for my poor English,
I have an Asp.Net application which was working fine until I add Log.Net framework (logging in a single file) and add picture generation in thread.
Randomly I lose all session variable.
I tried to not log with…

Christophe
- 21
- 3
0
votes
1 answer
IIS app pool configuration and recycling for a website with multiple applications
My IIS website setup:
www.mycompany.com <-Website
---app1
---app2
---app3
app1, app2 and app3 are applications - not IIS virtual directories.
There are four applications pools named sitepool, app1pool, app2pool and app3pool.
www.mycompany.com =>…

Stack Undefined
- 1,050
- 1
- 14
- 23
0
votes
2 answers
First Report after recycling (12 hrs by default) is taking very long to generate in SSRS
We have a report hosted on one of our SSRS Server, which gets called from our web application when user clicks on generate report. Most of the time it is very fast (1- 2 secs), however when SSRS server recycles once in 12 hrs (default), first report…