OutOfMemoryError: Exit Immediately

December 21, 2025

TLDR: I highly recommend to use -XX:+ExitOnOutOfMemoryError or -XX:+CrashOnOutOfMemoryError for Java apps, combined with -XX:HeapDumpPath=path-to-crash-dumps -XX:+HeapDumpOnOutOfMemoryError. This stops the JVM from trying to limp on when it runs out of memory and provides dumps to analyze the issue later.

Goodbye
Figure 1. Goodbye
Continue reading →

Create Types on Demand and Cecilifier

December 2, 2025

This post is part of C# Advent Calendar 2025. Visit it for all the awesome upcoming posts!

The traditional C# Advent is here. Usually I give some daily and practical advice. Like testing tips [1] or some outsider view approach to C# [2] here. This time its more about fun with very niche applications.

Provide 'Just In Time' Types & Code?

In dotNet there are facilities to create types at Runtime. This exists of two things:

  • A callback that is called when a type isn’t found.

  • Loading and generating Assemblies at runtime.

Be the Type-Force with you
Figure 1. Be the Type-Force with you
Continue reading →

Learned/Discovered this week: bpftrace, Windows in Docker, Testcontainers & Docker upgrade, Debugging-Tips

November 16, 2025

A short list of things I’ve learned or discovered this week.

bpftrace: DTrace for Linux

I discovered that bpftrace exists for Linux. It is similar to DTrace, where you instrument your system to debug it. That is great news (to me), because DTrace never made really to mainstream Linux. (Even Windows has it). bpftrace compiles things to eBPF programs to do the tracing, so it works on must Linux flavors.

Linux having a tracing tool
Figure 1. Linux having a tracing tool

Found via Brendan Gregg. Its one of the best resources for performance debugging.

Continue reading →

Use Mill Build Caching in CI-Builds

November 5, 2025

Mill build is still my favorite least-hated build tool. (Here is my outdated introduction to it.) In this blog post I show how to use the Mill build to speed up builds on branches.

I am using Bitbucket pipelines in this post. And I’m a newcomer at that =).

Continue reading →

Yes, Internet Explorer still runs on Win11, with some help

April 29, 2025

Yes, you still can run Internet Explorer, even the all might Internet Explorer 6, on Windows 11! Disclosure: I did work years ago on the mentioned product. I am biased.

Here are the steps:

Continue reading →