In my country you're responsible with your full wealth for your debt (and there's no personal bankruptcy law - it applies only to businesses). They'll retain 1/3 of your salary until they fully recover the difference, if there's any left after the foreclosure.