
Suppose you are given the code and while deploying that code, you are facing an ?MemoryOutOfBound? exception. How would you solve the problem?*

This type of error usually comes due to memory shortage to JVM memory, its same as OutOfMemoryError, Which can be a either config issue or its application bad coding practice and its much debatable to difference between a Application Bad coding or Configuration.
Software principle state that you have to be efficient enough to provide best solution with limited resources, that doesn't means that you didn't work out on Best possible Configuration of application or Best Coding practices never be biased to any one of them because these will be responsible for you application performance.
How good you as Software Engg. will reflects on you applications performance so please take care of both.
Regards,
Bhanu Pratap
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.