Thanks, I suspected there is something similar and intimidating

.
Unfortunately, kindlgen crashes on 100MB+ html files, Mobipocket eBook Creator dies even on smaller files and mobigen chokes after 300+.
Evidently, Amazon broke something dictionary related in kindlegen (at least related to the source size), and mobigen is the best (although inadequate) tool for this task.