3 ms·
Yes! I am a hiring manager and this is exactly why I ask this question. It's a very tellin question if they claim Java experience and can't say anything coher
by MartinBeckCop 9y ago
Yes! I am a hiring manager and this is exactly why I ask this question.
It's a very tellin question if they claim Java experience and can't say anything coherent about leaks or "unintentionally reachable" objects.
It means both that they haven't had to attack memory pressure issues, haven't used heap dump tools, etc., and haven't had the intellectual curiosity to know how the platform works.
- stlHusker 9y agoBull. The question as-is ("How do you create a memory leak in java?") is poorly constructed and will, a significant portion of time, lead down the wrong path when interviewing. Both you and the interviewee have to make assumptions. If you want to know if they have had to deal optimizing memory usage, simply ask. What was the problem? How did you detect it? How did you solve it? No ambiguity, no assumptions. "It's a very tellin question if they claim Java experience and can't say anything coherent about leaks or "unintentionally reachable" objects." You didn't answer the root of the OPs question -- why is that knowledge important to the application you are building or the work you are doing? Sorry, you failed his interview...