MT4 - Is there any limit on chart object type OBJ_BITMAP?

 

I am experiencing unstable terminal behaviour or freezing if OBJ_BITMAP objects count reaches some critical amount (about 10k).

At some point the objects stop rendering, and then the platform becomes heavy and finally stops responding at all. Sometimes I spot a flashing modal window frame in front of the terminal. The platform memory usage does not exceed 400 MB.

So far I am using workaround which keeps removing graphic objects, which are out of the visible area, but it is rather slow and looks glitchy when scrolling the chart.

 

Does any one know the limits of bitmap objects?