Follow these simple steps;
-Go to the following folder:
C:\Program Files (x86)\Steam\steamapps\common\DarkestDungeon\inventory
-Use Notepad or Wordpad to open inventory.darkest
-You will find statistics for .base_stack_limit for a variety of inventory items, like gold, gems, etc.
-Simply increase the stack limits for gold and gems to whatever you like- e.g. 10,000 for gold, 20 for gems.
-The effect of this is to greatly increase the profitability of any mission you play, as you can carry more and throw out less. This is especially helpful in long dungeons, where you normally have to pick and choose what you keep or discard. Take it all with you!