This question already has an answer here:
I have a transaction which doesn't confirms for last 3 days and is not most likely going to confirm at all in near future due to a recent situation in mempool.
Will it be working if I'll do the following? Are there any risks to loose my bitcoins forever, or even to get banned by system for double-spend?
- Dump that transaction with 'getrawtransaction'
- Decrease one of it's outputs by X in my hex editor, so that X will be added up to transaction fee
- Sign that transaction with 'signrawtransaction' and send it