From reading, I think the actual limit may be 255. But there could be plenty of other reasons why you're crashing at 165. A mod that finally is one too many conflicts/invalidations, or finally too much extra load for your PC to handle, etc.
Does it matter
which mod is the 165th (in terms of crashing?) or is it only when you're trying to load a single specific mod that just happens to be the 165th?