Thanks for the quick response.
The Message "not enough memory" does not apply to the computer itself.
The problem exists on win7, win10 and win11. Today, with 32 GB memory and enough free space on disk.
Compacted, the size of the accdb file is 55 MB.
Recursion is not a problem, the code runs...