w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Exeption in thread "http-8080-10" java.lang.OutOfMemoryError: Java

Your problem could be caused by a few things (at a conceptual level):

  • You could simply have too many simultaneous users or user sessions.

  • You could be attempting to process too many user requests simultaneously.

  • You could be attempting to process requests that are too large (in some sense).

  • You could have a memory leak ... which could be related to some of the above issue, or could be unrelated.

There is no simple solution. (You've tried the only easy solution ... increasing the heap size ... and it hasn't worked.)

The first step in solving this is to change your JVM options to get it to take a heap dump when a OOME occurs. Then you use a memory dump analyser to examine the dump, and figure out what objects are using too much memory. That should give you some evidence that will allow you to narrow down the possible causes ...





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.