Mostly occured Performance Issue in JAVA
Top 10 causes of performance issues in Java Cause #1 : The JVM spends more time performing garbage collection due to improper Garbage Collection (GC) configuration. E.g. Young generation being too small. Heap size is too small (use -Xmx). The application footprint is larger than the allocated heap size. Wrong use of libraries. For example, XML based report generation using DOM parser as opposed to StAX for large reports generated concurrently by multiple users. Incorrectly creating and discarding objects without astutely reusing them with a flyweight design pattern or proper caching strategy. Other OS activities like swap space or networking activity during GC can make GC pauses last longer. Any explicit System.gc( ) from your application or third party modules. Run your JVM with GC options such as -verbose:gc (print the GC logs) -Xloggc: (comprehensive GC logging) -XX:+PrintGCDetails (for more detailed output)...