~/talk

Memory-Saving Techniques in .NET

TalkinRussianat DotNext 2023 · 2023-09-15..09-16· [dotnet, web-performance]
links:none on file
slides:none on file

Practical techniques for reducing memory usage in modern .NET applications, illustrated by a real case of excessive memory during S3 file read/write. Covers concrete tools: ArrayPool, stackalloc, and working with Span, demonstrating how to write efficient, high-performance .NET code.

AI-written summary · about

  1. 0:00Introduction
  2. 2:12Memory matters
  3. 3:58Out of memory
  4. 7:09Custom S3 client
  5. 13:10Zero allocation spans
  6. 20:36StringBuilder formatting
  7. 27:48Array pooling
  8. 36:29File downloads
  9. 41:31S3 response optimizations
  10. 47:27XML parsing
  11. 48:50Benchmark results
  12. 50:18Linux vs Windows memory
  13. 51:44Key takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.