Manual:$wgSVGMaxSize

Details
Don't scale a SVG larger than this.