Dear Steve, Dear Vicky, thank you for your viewpoints and explanations on my problem - the memory situation and internal memory management is now much clearer to me. I will follow your advice and split the query into smaller parts using a python script and do the computations that way. Best regards, Clemens