as much as~
Describes doing something to the maximum extent possible, often with a sense of pushing limits.
This だけ means 'as much as' or 'to the extent that'. It emphasizes doing something to a high degree or as much as possible. It is often used with verbs to indicate pushing an action to its limit, or with adjectives to describe an extreme degree. For example, '食べられるだけ食べた' means 'I ate as much as I could.' Note that the same word だけ can also mean 'only' or 'just,' which is a different grammar point; context and sentence structure usually make the meaning clear, but be aware of the ambiguity.