Simple ohms law.
If there's a resistance and a voltage you get a current.
You know the resistance is 510 ohms, but what's the neutral - E voltage?
If it's TNC or TNCS probably very low, say 1V. In which case the leakage is only 2mA, not enough to trip the RCD.
If you had that resistance from L-E it most certainly would trip the RCD.
Either way, you ought to be looking for the cause of that leakage.