Lazarus uses far less memory for me than other IDEs, including VS Code which munches up 200 MiB by default just for three small files open. Both Linux and Windows.