garbage-collection
Detailed Java GC logs
The sun JVM outputs detailed GC logs to StdOut when the following args are used. -verbose:gc -X开发者_如何学运维X:+PrintGCTimeStamps[详细]
2023-04-02 18:05 分类:问答How to free, or recycle, a string in C#?
i have a large string (e.g. 20MB). i am now parsing this string. The problem is that strings in C# are immutable; this means that once i\'ve created a substring, and looked at it, the memory is wast开[详细]
2023-04-02 17:13 分类:问答Callback delegates being collected?
Been messing around with FMOD for C# game development and I\'ve hit a snag early on that I can\'t seem to get around. I want to do some branching audio stuff and sync some gameplay action to beats and[详细]
2023-04-02 15:33 分类:问答Garbage collector in Android is running, but nothing is shown as being allocated in ddms' allocation tracker
In my application, I\'m careful not to make heap allocations in the main render loop, to prevent the garbage collector from having to do its thing.[详细]
2023-04-02 11:52 分类:问答ruby on rails active record garbage collection questions (ruby 1.8.7 and rails 2.3.5)
I have the following entities : brand, scoring_records. Brand has_many scoring_records. If I have a block where I am working on a brand like this:[详细]
2023-04-02 06:54 分类:问答When does a Class object get garbage collected?
I was wondering if somebody could tell me when a Java Class object gets garbage collected. My use case is a cache (Map<Class<?>, Class<?>[]>) which holds the class-hierarchy of objec[详细]
2023-04-02 02:16 分类:问答How to use GC.KeepAlive() and for what purpose?
How can we use GC.KeepAlive() and what is the purpose? I transfer files from terminal (Windows-CE) to Server using Socket. The time needed for transfer is 8 minutes. After 5 minutes the Windows-CE shu[详细]
2023-04-02 00:52 分类:问答How to sync Lua and C++ garbage collection
I am trying to embed lua in an existing C++ application and have made a standard procedure for it by inheriting from a开发者_高级运维 class that does the work.[详细]
2023-04-01 20:54 分类:问答Java garbage collection "real" time is much bigger than "user" +"system"
That\'s how full gc with verbose gc enabled looks like - 13463.547: [Full GC [PSYoungGen: 323053K->0K(325952K)][详细]
2023-04-01 19:10 分类:问答Garbage collection of C# object declared in constructor
In the following code, I create a DispatcherTimer in the class\'s constructor. No one keeps reference on it.[详细]
2023-04-01 18:11 分类:问答