Re: And so the cookie crumbles... Community Center Geeks' Lounge by Dani > My decision were based on the "arrogance" of some moderators, it seemed that the entire site moved away from being a community service to a "I am the boss, do as I say" environment. AndreRet, based on your [latest post](https://www.daniweb.com/programming/databases/threads/541622/improve-having-by-performance#post2296496… Re: Improve HAVING BY performance Programming Databases by Reverend Jim … other words, it was most definitely not simply AI generated garbage. If I asked ChatGPT and my doctor what to do…;, would you consider the advice from your doctor to be garbage simply because the AI gave the same response? Re: Improve HAVING BY performance Programming Databases by Dani … just copying and pasting an entire article of AI generated garbage and posting it here in the forums. Especially after you… Re: 3 word story Community Center Geeks' Lounge by kAtHicKa garbage. He was Garbage collection .net Programming Software Development by HunainHafeez garbage collector collects unused object during runtime, OK ? i know it but never fully understood it. Like what 'unused' objects ? what makes them unused ? and does GC works when you EXECUTE your program by clicking .exe file ? and does GC work when i run file after being compressed by inno or WIX, for demployment purpose ? HELP ! Re: garbage value ? Programming Software Development by jwenting garbage? If you haven't initialised array elements or incorrectly declared an array the data in it will be the data that was in the memory spots before the array even existed. If you change it you can cause the computer to crash... Re: garbage collector Programming Software Development by thewebhostingdi Garbage collection is the most powerful feature of the automatic memory management. You do not need to take care of the mumbo jumbo of creating and then destroying the objects. GC runs indefinitely, whenever system thinks it is time to collect the garbage !! :) However, you can also trigger it to run using static function GC. Collect(); Re: These arrays are killing me! Programming Software Development by VernonDozier Garbage in, garbage out. Uninitialized values are usually garbage, so make sure you don't have any. To check, initialize them all to something like -999999. Then if you are using them anywhere, it'll stand out like a sore thumb. Re: Java Question: Deallocate Temporary arrays of objects? Programming Software Development by AndreiDMS Garbage collector does this for you periodically or when it detects that they are no longer being used. Usually the reference to a variable is lost when the variable goes out of scope. If you want to do it explicitly set the value of the variable to null(I guess). Re: Delete object by reference in java Programming Software Development by ~s.o.s~ > Garbage collection happens only when there are exactly zero > remaining references Not exactly; circular references are also garbage collected. More specifically, objects are eligible for garbage collection if there exists no reference from a live thread to that object. Re: Advantages of C# over C++ Programming Software Development by Rashakil Fol Garbage collection is the most important, and outweighs the combination of … know that an int is an Int32. Did I mention garbage collection? Unless you're doing low-level numerical computation where… Re: getting my code for highest and lowest value in a numeric array to work Programming Software Development by VernonDozier Garbage in, garbage out. Before you spend a lot of time analyzing your functions to see where the logic error is in calculating the lowest, highest, and average, loop through your array and make sure it's storing what you think it is. Re: Thoughts Of The Day. Community Center Geeks' Lounge by TrustyTony "Garbage in, garbage out. Poor algorithm in, nothing out." Re: Can anyone help me with an array problem? Programming Software Development by VernonDozier Garbage in, garbage out. You can't test your standard deviation function until … Re: Word Association Game Community Center Geeks' Lounge by )BIG"B"Affleck garbage -->waste management Re: Word Association Game Community Center Geeks' Lounge by Slade Garbage -> Mac OS Re: Word Association Game Community Center Geeks' Lounge by Toba garbage --> Windows XP Home Re: Word Association Game Community Center Geeks' Lounge by Sparkplug188 garbage --> old 5 inch floppy disks (Apple) Re: Delete object by reference in java Programming Software Development by JamesCherrill Garbage collection happens only when there are exactly zero remaining references, … Re: 1 word story Community Center Geeks' Lounge by cwarn23 garbage dump at the Re: Word Association Game Community Center Geeks' Lounge by happygeek garbage -> Manson Garbage Colloection tradeoff Programming Software Development by purijatin …are out of scope, they are still not available for garbage Collection because they are in invisible state. hence if i…then suddenly there will be a huge load on the garbage collector when the method goes out of the stack. Imagine…very very bad when compared to not having it. ultimately garbage collection has to happen? Now when it should happen, I… Re: Java Sockets and Garbage Collection?... Programming Software Development by BestJewSinceJC I doubt your connection is closed because of garbage collection. It is probably closed because your connection is established, …, and the program is finished so it closes Sockets etc. Garbage collection does happen, but isn't the cause of your… Java Sockets and Garbage Collection?... Programming Software Development by otherdummy … that after sending the list of files because of the garbage collection the connection between the server and client is closed… Re: Java Sockets and Garbage Collection?... Programming Software Development by pbl The garbage collector won't free objects that have still a reference. If it does, and the hell if I know how you figure that out, it is because your code does not have any more links to these objects. Unless you show your code, there is not much we can say. If the connection is closed (by your code) there is no need to still access these objects. Re: Garbage collection .net Programming Software Development by Momerath The garbage collector runs when the system decides that it needs to … goes out of scope. That object is now elegible for garbage collection. Re: Garbage collection .net Programming Software Development by deceptikon If it's .NET, the garbage collector is running. Whether it actually does something is up for debate, but there basically won't be a time when you have to worry about manually managing memory for stuff that the garbage collector handles. Re: Garbage collection .net Programming Software Development by deceptikon … seem to think, and you may be misunderstanding how the garbage collector works. There's plenty of learning material on the… .NET garbage collector. Maybe if you point to parts that you don… Garbage Collection Programming Software Development by arka.sharma I have written this following code to check the garbage collection and expecting that garbage collection will not occur since I'm maintaining… memory graph in JConsole it was sawtooth like graph indicating garbage collection.Will there any garbage collection for this code ? Re: Garbage collection and ResultSet, PreparedStatement, Connection Programming Software Development by JamesCherrill … anymore. This does not trigger garbage collection, which happens whenever the garbage collecter choses according to its own…complex rules. Whether that causes the object to garbage collected or not dependes on whether there are …access these objects, and some time later ther garbage collecter will garbage collect them. In general, worrying too much…