Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

How to recycle both function and it's JSDoc in a class definition?

I'm cracking my head over this... I know I can recycle/reuse both function and it's documentation by defining them on a class then extending another class... But this way will block inheriting from ...
user2804429's user avatar
0 votes
0 answers
26 views

How to use IDataProtector after publish

I have a blazor server site that I use IDataProtector to encrypt/decrypt the connectionstring. I use protector's PersistKeysToFileSystem to save its key to project's root. and when I publish ...
mz1378's user avatar
  • 2,482
0 votes
0 answers
53 views

IIS difference bewteen restarting Application Pool vs Site

New to IIS. Some background. Recently we updated a webapp folder under the "Default Web Site" with a new version by simply deleting all the old contents in the folder and copying in the new. ...
Pro West's user avatar
  • 337
0 votes
0 answers
26 views

I am passing data to the recycleView in reverse order. But I got an error somewhere

I am passing data to the recycleView in reverse order. The xmn part of my code has a recycleView inside a recycleView. But when he draws the 2nd item, he freezes? Am I making a mistake somewhere? You ...
Jamshid_5818's user avatar
1 vote
1 answer
528 views

NET. 6 on Docker Container and Application Pool Recycle

I am developing an application on .NET6 using Microsoft Blazor. I have containerized this application to be able to deploy with more flexibility and to avoid Azure Web Apps problems. Azure Web Apps is ...
Stavros Koureas's user avatar
2 votes
2 answers
60 views

How to avoid recycling while trying to replace values from a vector in a dataframe column

This question arose, while working on this question Replace list names if they exist I have this manipulated iris dataset with two vectors: new_name <- c("new_setoas", "new_virginica&...
TarJae's user avatar
  • 78.3k
0 votes
2 answers
91 views

How to return a new object when the current object is recycled in Java

In the following code the returned matchEntry is recycled, how can I fix that so that the returned matchEntry is not recycled. I want the last matched entry in the loop to be returned The object.clone(...
Thomas Adrian's user avatar
1 vote
1 answer
215 views

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 ...
mstoreysmith's user avatar
0 votes
2 answers
521 views

Recycle all app pools with a .bat file with a delay between each one

I would like to have a delay between each recycled app pool so the CPU doesn't get high. Below is my current .bat file that recycles all my app pools at once. How can I add a delay between each one ...
Mike Flynn's user avatar
  • 24.1k
0 votes
0 answers
76 views

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: ...
Neal Oden's user avatar
0 votes
1 answer
197 views

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 $...
Dagome's user avatar
  • 1
0 votes
1 answer
1k views

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 ...
Mike Flynn's user avatar
  • 24.1k
1 vote
2 answers
2k views

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 ...
howdymars's user avatar
0 votes
1 answer
225 views

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's user avatar
  • 83
0 votes
0 answers
507 views

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 ...
Ahmed Moalla's user avatar
0 votes
1 answer
513 views

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....
Agnese Romiti's user avatar
0 votes
1 answer
766 views

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]: ...
user avatar
0 votes
1 answer
44 views

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 ...
sir.p's user avatar
  • 33
3 votes
1 answer
142 views

Assign multiple columns via vector without recycling

I am importing measurement data as a dataframe and want to include the experimental conditions in the data which are given in the filename. I want to add new columns to the dataframe that represent ...
Nathan Stutzman's user avatar
0 votes
1 answer
373 views

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 ...
Niklas Hauber's user avatar
0 votes
1 answer
338 views

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 ()...
emrekocaman's user avatar
1 vote
1 answer
240 views

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 ...
Christophe Leray's user avatar
2 votes
4 answers
724 views

Creating a matrix using recycling

I am asked as an exercise to use recycling to initiate a 4 by 5 matrix where the first three rows are 0's and the fourth row has 4, 8, 12, 16, 20. I understand that recycling is defined as if the ...
james black's user avatar
1 vote
2 answers
931 views

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(...
activity's user avatar
  • 2,723
3 votes
1 answer
78 views

How can I make a function in R to create subsets of columns?

I have a data frame in R with almost 40 years (from 1980 to 2019) in columns and I need a function to create several subset taking the same variable and rename, then I have to put in other data frame ...
Lady Infante's user avatar
2 votes
1 answer
40 views

R, function that turns numeric input into a recycled numeric output bounded by a upper limit

How can I write a function f(v, n) (or use a base R function) that turns a numeric vector v into another based on n, a recycling factor (in lack of a better word). For instance: f(v = c(1,2,3,4,5), ...
user3375672's user avatar
  • 3,768
0 votes
1 answer
673 views

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 ...
Anonymous's user avatar
  • 4,810
1 vote
1 answer
751 views

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 -> ...
user3369534's user avatar
2 votes
3 answers
455 views

data.table efficient recycling V2

This is a follow-up to this question : data.table efficient recycling The difference here is that the number of future years for each line is not necessarily the same .. I frequently use recycling in ...
MrSmithGoesToWashington's user avatar
2 votes
3 answers
459 views

data.table efficient recycling

I frequently use recycling in data.table, for exemple when I need to make projections future years. I repeat my original data fro each future year. This can lead to something like that : library(...
MrSmithGoesToWashington's user avatar
-1 votes
1 answer
54 views

Need to take advantage of R's recycling for once

I want to index cells from the columns df$candidate1 through df$candidate5 based on the first column. In some cases, candidates are empty, in which case I want to recycle back to the first candidate. ...
datajoel's user avatar
  • 100
0 votes
1 answer
207 views

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) ...
NullPointerException's user avatar
0 votes
1 answer
537 views

How to disable recycling for listView in android

I have a question about the ListView in android. I have added a list of 30 items which means that I need to scroll down. I use the adapter like below: <?xml version="1.0" encoding="utf-8"?&...
Andreas's user avatar
  • 1,279
1 vote
1 answer
177 views

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....
Perraco's user avatar
  • 17.2k
0 votes
0 answers
1k views

IIS Recycling issue

I got an issue with IIS and recycle. I explain what we want, and what we did. What We want: we have an ASP.net WebSite, it executes a code in "Application_Start" which loads in memory a lot of data. ...
frederic langlois's user avatar
0 votes
1 answer
53 views

Parsing strings with punctuation, in uneven rows from a large list in r

My data contains a library of words I am trying to import. The difference with this questions is I am separating words and punctuation. My original file has about 1,000,000 rows. I figured out how to ...
FrosyFeet456's user avatar
1 vote
0 answers
41 views

How to stop recycling for uneven row lengths in r [duplicate]

My data contains a library of words I am trying to import. The difference with this questions is I am separating words and punctuation. My original file has about 1,000,000 rows. I figured out how to ...
FrosyFeet456's user avatar
0 votes
1 answer
252 views

Recycling methods that need certain objects in Java

I was just wondering if there exists any way to recycle a method in Java that is repeated in sibling classes because they need a specific object. Let's see an example: public void refreshSearch(){ ...
Rubzet's user avatar
  • 189
5 votes
0 answers
2k views

Running ASP.Net Core Background Tasks after AppPool Recycling

I have an asp.net core application running on windows server. This is using some background tasks for using external service to get the data. We are facing an issue that after our app pool recycled/...
Shibu S R's user avatar
  • 153
0 votes
1 answer
294 views

How to Close a File During App Pool Recycle

I have an app running in its own app pool that writes often to a text log file. When the 29-hour fixed recycle hits, I usually run into problems because the new process is launched while the old ...
pjneary's user avatar
  • 1,146
0 votes
1 answer
2k views

A process serving application pool 'App pool' suffered a fatal communication error with the Windows Process Activation Service

I have asp.net web forms application. I deployed program to IIS server and program is working well but all of users' InProc session often die at same time. I know that appliaction pool often is ...
Babək's user avatar
  • 23
1 vote
0 answers
201 views

Why I have to recycle AppPool in order to IIS works correctly?

I am struggling in a problem I have this scenario: Production Server Windows Server 2012 R2 Internet Information Server 8.5 AppPool v4.0 16 GB RAM Intel Xeon(R) E7 (8CPUs) Project MVC 4 ASP.NET ...
EduardoUstarez's user avatar
3 votes
1 answer
456 views

Android ListView show incorrect content when Scrolling Down, then correct content when Scrolling Up

As a total newbie to Android Studio, I'm presently baffled by different behavior upon the same code. If the code is the same, how may the results be different when scrolling up or down? Could this be ...
Daniel Henry Thomas's user avatar
0 votes
1 answer
440 views

Can DebugDiag be configured not to generate dumps for a scheduled IIS app pool recycle?

Our production application pools (IIS 8.0-8-5, .Net 4.5 integrated pipeline) are set to recycle daily, this is unlikely to change in the short term. Is there a way to prevent a DebugDiag (2.2.0.14) ...
Shaun's user avatar
  • 1,341
1 vote
1 answer
703 views

Rows in Kivy RecycleView repeating

I'm using Kivy RecycleView with a Row class to create an editable table of values. The problem is that when I type an entry in one line, this value also appears in other lines further down in the ...
shiroobi's user avatar
0 votes
1 answer
126 views

How can I recycle/reuse a layout (Android)?

I am trying to make something like in the image. I want to reuse the layout I created for TAB1. (The info on each swipe will be fetched from a server). I am unable to find any correct way of doing ...
ScriptKiddieOnAComputer's user avatar
0 votes
2 answers
760 views

Web Application using WebSockets with SignalR crashes pool after exception or does it?

We have a complex web application that uses SignalR to communicate with clients sending them updates about video encoders. It sends them snapshots of camera images, status of recordings, schedule ...
Paul Sinnema's user avatar
  • 2,762
0 votes
0 answers
183 views

Will android system recycle bitmap automatically even have references to the bitmap?

I implemented a custom widget that has a SparseArray which have a array of bitmaps, when I scroll other UI widget frequently(scroll ListView quickly) make memory allocation frequently and become large,...
Jishi Chen's user avatar
0 votes
1 answer
954 views

Kivy- Assign variables with on selection Recycleview

I have a problem which may be quite python-ignorant rather than kivy problem. I cant program kivy in python so I have KV file and py file. I have modified Recycleview with SelectableLabel from kivy ...
Martin's user avatar
  • 3,365
0 votes
1 answer
325 views

On recycle some applications get this error: Thread was being aborted

For some reason, after recycle, some applications keeps throwing the error below: Thread was being aborted. at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, ...
Lucas L Roselli's user avatar

1
2 3 4 5
7