My Singer 237 could sew up to 4 layers of heavyweight denim without complaining. Six layers with a little coaxing.
That was using a denim needle.
Singer 237 - 1960s era. Straight stitch and zigzag.
All machines need a heavier weight needle when sewing fabrics like denim.