Is there any Java Static Code Analyzer that can detect code that could possibly cause a memory leak ? I understand that JVM profilers are used for this purpose, but that does not helps us to put the checkpoint during development itself.
Educating developers about best practice is on one side, but how do i put an automated process as a checkpoint here ?
Any thoughts or recommendations are welcome.