Contact problem mesh size

Hi there

I am trying to solve a 3D contact problem, but when I make the mesh size on the boundary fine (<0.2), I get this error: bad array new length.
When I make the mesh size 0.2, I don’t get any error and the solver converges but there is a big slip along the contact boundary.
Can someone please guide me how to solve these problems?

Regards
Hamed

That error likely means you have to little RAM for problem size.

Thanks Christopher for your reply. I noticed both contact1 and contact2 in the 3D example provided in the tutorial of the contact problems are the same. Is that a typo?

rod.faces.name=‘contact1’
rod.faces.name=contact2’