News for hackers. Stuff that matters.
Re:How to optimize memory usage and eliminate GC pauses in .... by musicale on Wednesday January 19, 2022 @04:35PM (#30000525)
It should give you pause if you find that you are spending much of your time fighting the GC.

Perhaps you're doing something very wrong in terms of object allocation and lifetime. Perhaps this GC/memory performance debugging time is well spent and expected - just as you might optimize memory usage (and VM and cache usage) to squeeze out better performance from a C++ program. Or perhaps .NET is not well suited to your requirements.

Re:How to optimize memory usage and eliminate GC pauses in .... by mcsoft on Thursday January 20, 2022 @02:04PM (#30013126)
Luckily it was one time effort which allocated less than 1% of our annual development resources that year. After we've walked away from large arrays allocated in LOH - there were no issues despite further traffic growth.
Re:How to optimize memory usage and eliminate GC pauses in .... by mcraiha on Wednesday January 19, 2022 @12:56PM (#29997300)
Tip for the writer, you can use MarkdownExporter or HtmlExporter with BenchmarkDotNet. That way you don't have to take screenshots from the results.
Re:How to optimize memory usage and eliminate GC pauses in .... by mcsoft on Thursday January 20, 2022 @02:01PM (#30013090)
thanks!