Questions tagged [recycle]

338 questions
0
votes
0 answers

Inconsistent recycling in R?

In R code example 1: mat <- matrix(1, nrow = 4, ncol = 4) avec <- c(2, 3) mat[avec, avec] <- 0 mat is: 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1 But in example 2: res <- avec + avec res is (4, 6) In other words, in…
Neal Oden
  • 57
  • 4
0
votes
1 answer

PowerShell IIS How to make each recycle period 2 minutes apart

I need to set all times for IIS pools to be recycled each 2 minutes apart. I want to create a script in PS that would set that up for me. This is how it looks:" $AppPool = Get-IISAppPool $AppPoolName = $AppPool | select -ExpandProperty name foreach…
Dagome
  • 1
0
votes
1 answer

Disable recycling for configuration and alternative ways to do it for IIS and AppPool

We are having weird configuration change errors that happen and we can't tell why. We have tried just about everything to figure out what is happening. We now want to stop the site from recycling the app domain when this happens. If we set the…
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
0
votes
1 answer

Bitmap Memory Leak?

I've been making a menu system that mimics ViewFlipper except I personally reset the images and text within the RootView myself, trying to avoid Bitmap related OOM. All was going well until yesterday when I realized after a few restarts, and…
While-E
  • 1,527
  • 2
  • 20
  • 37
0
votes
1 answer

How the Mainframe application handle CICS Recycles

During the CICS region recycle, will the incoming request gets time-out? Will the request be logged in some files to check?
MCN
  • 83
  • 1
  • 7
0
votes
0 answers

Relation between System.Buffers.dll and recycle IIS Pool

I whould like to know if there is Relation between System.Buffers.dll and Recycling IIS Pool . In fact , I have a wcf Serive ; that contains "System.Buffers.dll" ; When I whould like to generate PDF with "ExportToPdf" method from DevExpres , it…
0
votes
1 answer

generate a column of random numbers

I wanted to generate a column of random numbers in R taking values between 1 and 371, but I get an error I am not able to fix. here is the code library(readstata13) #load data sets data1<- read.dta13("file1.dta", convert.factors = FALSE,…
0
votes
1 answer

SQLSTATE[23000]:Integrity constraint violation: 1048 Column 'giorno_raccolta_id' cannot be null

Calendar I'm developing an app with Laravel 8 to show the weekly calendar of separate waste collection, but when I go to press the add day button I have the following error: SQLSTATE [23000]: Integrity constraint violation: 1048 Column…
user8248285
0
votes
1 answer

I cant call a method In ViewPager from RecyclerView adapter

I whan to call a method that adds respective fragment to viewpager whenever user click on item from recyclerview. how can i do it??, below is my code. thanks SemesterFragmentViewPager.java public SemesterFragmentViewPager() { } @Override …
0
votes
2 answers

Is there a way to tell if a Bitmap has been completely disposed on Android?

I am creating a viewer application that calls BitmapRegionDecoder.decodeRegion(Rect, BitmapFactory.Options). I am disposing of the bitmap previously got from decodeRegion before each call: //this is a function I wrote that gets the rectangle I…
Andrew Wyld
  • 7,133
  • 7
  • 54
  • 96
0
votes
1 answer

IIS Application Pool Recycle

I have to recycle IIS (version 7.5) application pool programatically using c#. When I try to get ApplicationPoolCollection using "ServerManager" class UnauthorizedAccessException raised. I guess I have to use impersonation. But I don't know to use…
0
votes
1 answer

C# - downsides to recycling resources in finalizer

As the title states: are there any downsides to recycling resources (like large arrays) in the finalizer of the containing object? So far it works out fine but since finalizers can be a bit funky and difficult to debug I decided to ask here. The use…
0
votes
1 answer

How can I completely clear a bitmap from memory on Android?

I just have a bitmap that I use to assign to a static variable. I did not set this to any imageview. After assigning it to a static variable, I want to delete it from memory by typing bitmap.recycle (). I don't get an error when I just use the…
0
votes
1 answer

Android Glide - Cannot recycle a resource that has already been recycled

I have a list of objects the user can create and delete on runtime and each object is assigned an icon. When I do multiple add/delete operations on these objects at some point I get the following exception. java.lang.IllegalStateException: Cannot…
Anonymous
  • 4,470
  • 3
  • 36
  • 67
0
votes
1 answer

It is safe to recycle a bitmap after using it for create a scaled version?

I'm creating a bitmap, but after that, I'm creating another one with a scale: Bitmap originalBitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.a1); float ratio = (float) originalBitmap.getWidth() /…
NullPointerException
  • 36,107
  • 79
  • 222
  • 382