Zum Inhalt springen

Bekannte Probleme

Falsche Speicherwerte auf alten Linux-Distributionen und WSL 2

Unter Windows Subsystem for Linux 2 (WSL2) können die Werte von max_memory oder memory_limit aus duckdb_settings auf bestimmten Ubuntu-Versionen (z. B. 20.04 und 24.04) ungenau sein. Das Problem tritt auch auf älteren Distributionen wie Red Hat Enterprise Linux 8 (RHEL 8) auf:

Beispiel:

FROM duckdb_settings() WHERE name LIKE '%mem%';

Die Ausgabe enthält Werte größer als 1000 PiB:

┌──────────────┬────────────┬─────────────────────────────────────────────┬────────────┬─────────┐
│ name │ value │ description │ input_type │ scope │
│ varchar │ varchar │ varchar │ varchar │ varchar │
├──────────────┼────────────┼─────────────────────────────────────────────┼────────────┼─────────┤
│ max_memory │ 1638.3 PiB │ The maximum memory of the system (e.g. 1GB) │ VARCHAR │ GLOBAL │
│ memory_limit │ 1638.3 PiB │ The maximum memory of the system (e.g. 1GB) │ VARCHAR │ GLOBAL │
└──────────────┴────────────┴─────────────────────────────────────────────┴────────────┴─────────┘