An extreme option would be to reduce <cachemembuffersize> to zero, so the whole file is loaded before playing. That would guarantee smooth playback at the expense of a delay in video starting.
Alternatively I'd try edging up <cachemembuffersize> slowly seeing if it makes any difference. Kodi on V3 will run in 512MB with no problems so a value of 170MB should be OK.