garbage-collection
Android application pauses - slow garbage collection or SQLite performance problem?
I have an Android application that communicates with a Jersey webservice using JSON. The received data is stored in a SQLite database on the Android device.[详细]
2023-04-03 22:43 分类:问答Can I make an objects lifetime depend on another object without making a strong coupling in C#?
I have some factory code along the lines of: public MyHandlingClass Create() { var myHandler = new MyHandlingClass();[详细]
2023-04-03 16:54 分类:问答.Net 4 Garbage Collection
I tried to read up garbage collection algorithms in Java and in .Net recently. So far I found out that java uses Mark and Sweep as algorithm within its collectors.[详细]
2023-04-03 13:27 分类:问答How to properly implement onDestroy method?
I\'m developing an android application and i\'m almost done, and in order to have a good application i wanted to know how to properly 开发者_JAVA百科implement the onDestroy method, i mean do i have to[详细]
2023-04-03 10:15 分类:问答JVM hangs because of infinite GC
I have a huge application running in glassfish server which creates lot of short-living objects and i have the following GC configuration in JVM.[详细]
2023-04-03 06:20 分类:问答How does .Dispose() work in C#? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Proper use of the IDisposable interface[详细]
2023-04-03 05:43 分类:问答java memory pressure
Are there features in Java to tell 开发者_如何学JAVAthe runtime about unmanaged memory allocation like the GC.AddMemoryPressure method in .NET?I guess this is not required in Java. \'If a small manage[详细]
2023-04-03 03:19 分类:问答GC is forced when working with small images (<=4k pixel data)?
I\'m seeing the performance counter \"# Induced GC\" (which should stay at zero in a perfect app) increasing rapidly when processing small files (<= 32x32) via WriteableBitmap.[详细]
2023-04-02 21:41 分类:问答Does sublist(from,to).clear() allow garbage collection of the cleared part of an ArrayList?
In Java, when having some non-empty ArrayList, does list.sublist(from,to).clear() edit (refactored question):[详细]
2023-04-02 21:15 分类:问答Strings, references, and Garbage Collection
Imagine you have an object that has several properties.One of these properties is a string: private class MyObject[详细]
2023-04-02 19:42 分类:问答