Remove all objects from the map (except for the player's hero). If the problem disappears, remove parts of the map one by one until you find the offending object.
Remove all scripts, and if the problem is in them, debug in a similar way.
Remove everything that is unnecessarily added to the map file (modified objects, etc.).