6. The maximum value of the product of several positive integers whose sum is 2021 is .
$6.2 \times 3^{673}$.
To maximize the product, the addends should only contain 2 or 3, and the number of 2s should be at most 2, with the maximum value being $2 \times 3^{673}$.