A riser changes the hand position but can stretch the cables and brake line. The permissible height isn't set by one figure from someone else's installation.
Fitting experience
Owners used lifts of about 20–30 mm and taller options with different routing. Their handlebar, steering lock and specification may have differed. On the stock bar, the clamp is about 28 mm and the ends 22 mm; these are different places to match.
What to check
Check the riser's compatibility, the bolt length and seating, and a fit without gaps. At both full locks, the throttle must return, the revs must not change and the hoses must keep some slack. In the manual, the bar is tightened first by the front bolts, then the rear, per the procedure.
After installation
After dirt riding, inspect the mountings and looms. A bent handlebar of unknown remaining strength can't be reliably restored with heat. If the riding position you need requires the cable to be pulled to its limit, choose a different geometry and suitable components.