When Java applications fail in production, the issue frequently boils down to memory exhaustion or thread synchronization deadlocks. In technical interviews, panels want to hear your step-by-step diagnostic workflow: taking a heap dump using `jcmd` or `jmap` upon `java.lang.OutOfMemoryError: Java heap space`, analyzing object retention using tools like Eclipse Memory Analyzer (MAT), and identifying unclosed database connections or static collection memory leaks. Explain how thread dumps (`jstack`) help identify threads locked in BLOCKED state waiting for synchronization monitors in production runtimes.