Top "Garbage-collection" questions

Garbage collection (GC) is a form of automatic memory management which attempts to reclaim garbage, or memory occupied by objects that are no longer in use by the program.

Young , Tenured and Perm generation

I'm confused with Heap,Young,Tenured and Perm generation. Could anyone please explain?

java garbage-collection jvm heap-memory
What do -XX:-PrintGC and XX:-PrintGCDetails flags do?

I found the JVM flags here. Is there a more detailed explaination of what exactly they do?

java garbage-collection jvm jvm-hotspot
facing perm gen space error in weblogic

I am new to weblogic. After starting the server when i see administrator console and get log-in it throws below …

java garbage-collection weblogic
Are static fields open for garbage collection?

Given an hypothetical utility class that is used only in program setup: class MyUtils { private static MyObject myObject = new MyObject(); /*…

java static garbage-collection static-members
How to request the Garbage Collector in node.js to run?

At startup, it seems my node.js app uses around 200MB of memory. If I leave it alone for a …

javascript node.js garbage-collection
Dispose, when is it called?

Consider the following code: namespace DisposeTest { using System; class Program { static void Main(string[] args) { Console.WriteLine("Calling Test"); Test(); …

c# .net garbage-collection dispose idisposable
What kind of Garbage Collection does Go use?

Go is a garbage collected language: http://golang.org/doc/go_faq.html#garbage_collection Here it says that it's …

garbage-collection go
PS Old Gen memory in Heap Memory Usage: GC settings for Java Out Of Memory Exception

Below are my JVM settings: JAVA_OPTS=-server -Xms2G -Xmx2G -XX:MaxPermSize=512M -Dsun.rmi.dgc.client.gcInterval=1200000 …

java jboss garbage-collection jvm jvm-arguments
How to solve java.lang.OutOfMemoryError: GC overhead limit exceeded error in android studio

I am using android studio 1.0 RC for 64 bit linux. When I run my application I am getting "java.lang.OutOfMemoryError: …

android garbage-collection out-of-memory
Can I trigger JavaScript's garbage collection?

I want to trigger JavaScript garbage collection. Is it possible? Why would I want to, or not want to, do …

javascript garbage-collection