I just moved into a home build in the late 1800s and the stone foundation seems to be eroding away (flakes and piles of shedded mortor/stones collected on the floor etc). I assume that this is due to the lime mortor that was used in that time period breaking down.

Is this a correct assumption and if so why is this happenning and is there anything I can brush on it to prevent this from continuing?