I have seen many Android answers that suggest calling the garbage collector in some situations. Is it a good practice to request the garbage collector in Android before doing a memory-hungry operatio
I started using Resharper and it indicated when a method could be made static.Would converting a few hundred methods to static methods increase the memory footprint over a large p开发者_StackOverflow中
Running a .NET application on Windows Server 2008 x64 with 16GB of RAM. This application needs to fetch and analyze a very large amount of data (about 64GB), and keep it all in memory at one time.
I have an .net app that seems to have a memory leak issue(s). The .net service starts out around 100MB of memory, but under load it hits around 400-500MB. Most of my classes don\'t have unmanaged reso
I am running the following code every two minutes via a Timer: object = new CustomObject(this); Potentially, this is a lot of objects being created and a lot of objects being overwritten. Do the ov
I have been reading the Garbage Collection chapter from Jeffrey Richter\'s fine book, \"CLR via C#\". There, he illustrated an example of how the GC conceptually works (how roots are marked) by referr
When I debug .net code, how can I know when the garbage collector runs? I do not wish to control when the garbage collector runs.I only wish to be able to know when it is running.I have some code tha
I have written various C# console based applications, some of them long running some n开发者_开发问答ot, which can over time have a large memory foot print. When looking at the windows perofrmance mon
We have a Web Java based application running on JBoss with allowed maximum heap size of about 1.2 GB (total machine physical memory is 2 GB). At some point the application stops responding (to clients
I need to to know whether the Garbage Collector in Java works on its own or we do need to start开发者_JAVA技巧 it.It works on its own. You can \"suggest\" that it run, but that\'s about it.The GC is a