You need to optimize your query, whatever you are doing is more then 128mb which is how much in memo
You need to optimize your query, whatever you are doing is more then 128mb which is how much in memory state the d1 durable object has.
Have you tried splitting the reads into paginated requests rather then just selecting all 26 million rows?
Have you tried splitting the reads into paginated requests rather then just selecting all 26 million rows?




