Category "garbage-collection"

How to empty a yattag doc

I'm having rather good results in using yattag to generate HTML code within my python project. But there is something I don't understand and I actually couldn't

Java garbage collection is performed, but GC notification is not received

I have followed a few examples from various sources, and have the following snippet: private void registerForMemUsageChanges() { List<GarbageCollectorM

G1GC Old Gen committed heap keeps growing, used is constant - leads to Eden starvation

The G1GC old generation committed heap goes up over time (about 5 to 6 days on production) but the old generation used heap does not. The Eden and survivor hea

How to make sure my DataFrame frees its memory?

I have a Spark/Scala job in which I do this: 1: Compute a big DataFrame df1 + cache it into memory 2: Use df1 to compute dfA 3: Read raw data into df2 (again,

Gc logs not printing

I pass the below value to jvms hosted on Jboss : <option value="-XX:+PrintGCDetails"/> <option v

Specific meanings of jstat parameters : YGCT FGCT GCT

I need to use jstat to measure some GC parameters of a program. Jstat provides set of parameters ( S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT

Can someone explain what happens in the "Concurrent Abortable Preclean" phase of CMS garbage collection?

I went through https://plumbr.eu/handbook/garbage-collection-algorithms-implementations/concurrent-mark-and-sweep link explaining CMS GC, but couldn't understan

Why is SerialGC chosen over G1GC?

I am running Java on very similar VMs and I can't find the explanation why the SerialGC is chosen over G1GC in one case. It's the same Java version, same OS, sa

timeit and its default_timer completely disagree

I benchmarked these two functions (they unzip pairs back into source lists, came from here): n = 10**7 a = list(range(n)) b = list(range(n)) pairs = list(zip(a,

How can I enable Server GC in .NET Core?

I have a .NET Core app (MyApp.exe) developed in VS2017 running on the 1.0.4 version of the SDK. I have tried adding an App.config with the following entries: &

Increase Heap size in GO

Is there a way howto instruct GO runtime to use larger heaps? I am running GO 1.5. My GO process is currently spending 34% of time in GC but it uses unly 1/3 o

High application time in GC Log

Mystery in GC LOG - Application Time. GC LOG contains more details and there is found "Application time" field and 83 Seconds was there. In that time serve

Unit Testing WeakReference

It seems the following code to unit test WeakReference does not work correctly/reliably: object realObject = new object(); WeakReference weakReference = new Wea