UI map info window loading time issue

I am devoloping an application where in i have a vaadin map an two buttons above it when i click on the first button it shows the locations as markers and the other one as info windows, but when the location is shown as markers and when i click on the second button and flip to this infowindows vaadin taking lot of time to load this infowindows.Any idea about this performance issue?.why its taking much time to load infowindows or sometime i get unresponsive script warning too?.

Sudheesh Krishna