It's very hard to tell the real maximum weight because most pros only measure once every 2 months or so.
but from my own records, D granti can go over 40g, and D tityus can go over 34g.
a heavier larvae doesn't mean the beetle will always be bigger, theres a lot of factors including moisture level, horn length, energy spent on pupa cell...etc.