Follow these simple steps to change the Heap Size of Tomcat under Eclipse. If you have below questions then you are at right place. Eclipse + Tomcat –java.lang.OutOfMemoryError How to increase tomcat memory in
Exceptioninthread"main"java.lang.OutOfMemoryError: Java heap space at MaxHeapSizeViolated.main(MaxHeapSizeViolated.java:8) After setting the -Xmx256m vm option in Run configurations the above code does not lead to an OutOfMemory exception. 4. Conclusion In this example we tried to demonstrate...