I left a node mining the testnet for a few days and got a bunch of coinbase transactions (close to 1200). I tried doing sweep_all [my address] but that failed: Error: payment id has invalid format, expected 16 of 64 character hex string: [my address] . That didn't make a lot of sense, so I tried the same command again. This time it failed with a different message: Error: failed to find a suitable way to split transactions .

So I tried the command transfer [my address] 16385 (that amount is the available balance without its decimal part) and got this: Error: failed to find a way to create transactions . Apparently the wallet is okay with the amount 16300 XMR, but it says it will have to split it into 9 transactions.

It seems that I am reaching some internal limits in building transactions. Could someone explain what is happening in the background, and how does splitting work?