The Australian sharemarket rose for the fourth consecutive session but lost early momentum, as weaker commodity prices weight on the resources sector.