It may be a valve train or timing chain issue. 140k miles is rather high and it could also be oil pressure related as well. Without hearing the noise first hand it is really hard to tell for sure.
This link may give you some ideas as well:
98' Altima Info
JamesO
This link may give you some ideas as well:
98' Altima Info
JamesO