[EN] Set process memory limit with Process Governor | Low Level Design
Today I would like to introduce you to Process Governor – a new tool I added to my .NET diagnostics toolkit. This application allows you to set a limit on a memory committed by a process. I wrote this...
View Article[EN] String Hazards - Custom Intern Pool | badamczewski.blogspot.com
This article is a continuation of my previous article. It shows how to create a custom intern pool that does not fragment the LOH and how to further improve it.
View Article[EN] SharePoint Memory Leaks
While working as a developer within SharePoint – farm solutions, every developer has come across Memory Leaks, but what actually are memory leaks and how to defend your code from them?
View ArticleBlog Kokosa | MemoryVisualizer - Memory Query Language
Memory Visualizer wymaga udostępnienia języka zapytań odnośnie obiektów i struktur w pamięci. Jak pisałem w części Cypher, co to jest?!, język ten nazywam MQL - Memory Query Language. W istocie jest to...
View ArticleZero Garbage Collector for .NET Core 2.1 and ASP.NET Core 2.1 – TooSlowException
A few months ago I wrote an article about Zero GC in .NET Core 2.0. This proof of concept was based on a preview version of .NET Core 2.0. However upcoming .NET Core 2.1 contains many improvements in...
View Article[EN] Strings Are Evil - Reducing memory allocations from 7.5GB to 32KB
Reducing memory allocations from 7.5GB to 32KB Table of Contents Context of the problem Establishing a baseline Easy win 1 Easy win 2 Splits are never cool Lists are not always nice Pooling byte arrays...
View Article[.NET Internals 01] Basics of memory structure – Dawid’s blog
First, introductory post to my new ".NET Internals" series. Next posts will be published each Wednesday from today, so I invite you all to follow the series :) First post is the introduction to basic...
View Article[.NET Internals 03] Boxing and unboxing – Dawid’s blog
Let's continue the .NET Internals series and see Boxing and Unboxing today :)
View Article[.NET Internals 05] Garbage collection: marking, collection and heaps...
Examining garbage collection in more details today. We'll see what is marking phase, actual collection process and heaps compaction to make it more efficient. Come and read! :)
View Article[.NET Internals 07] Unmanaged resources: finalization, fReachable queue and...
Wanna know what is fReachable queue, how finalization works in .NET and how to use a Dispose pattern? Come and read a new post in my .NET Internals series :)
View Article[.NET Internals 08] What about Large Object Heap (LOH)? – Dawid's blog
Wanna know a bit more about LOH? Let's examine it in today's post about a bit forgotten Large Object Heap :)
View Article[TooSlowException blog] Pro .NET Memory Management book pre-order
Hi all! I am thrilled to announce that after more than two years of intensive book writing, it is finally available for preorder! Its about 800 pages are solely dedicated to the topic of .NET memory...
View ArticleDo we need JVM’s PhantomReference in .NET? – TooSlowException
Would be post-mortem finalization available thanks to phantom references useful in .NET? What is your opinion, especially based on your experience with the finalization of your use cases? Please, share...
View ArticleOutOfMemory – a nerdy card game for developers! – TooSlowException
So…after quite a serious thing which was writing Pro .NET Memory Management book, I’ve decided to experiment with a little pet project for having some more fun. I have quite a few very interesting...
View Article[EN] Performance bottlenecks in C# LINQ - YouTube
This video will show you some of the performance and allocation problems that you might encounter when writing LINQ expressions and offer a couple of solutions on how to solve them. LINQ Links: ♦...
View Article[EN] Zrozumieć Span, Memory and ReadOnlySequence w .NET
Span, Memory i ReadOnlySequence stały się stałym elementem .NET i pojawiają się praktycznie wszędzie. Kiedy przeglądałem dokumentację tych struktur, zauważyłem, że to w jaki sposób mam je zamodelowane...
View Article