-
java.lang.OutOfMemoryError - server going down
Hi,
I've got a web application, which is using the Orion 2.02 application server. We've added another system to the suite of systems we already have in the last 3 months.
Since then, we're having problems with the server and it keeps going down and on the log file we're getting a load of exceptions and below is the error message we got.
We've already moved the system to a more powerful server. We've gone through everything and we have no definite answers. Is it hardware?? code(i.e.code leak)???
Of course I know its running out of memory, but what else is causing it or has anyone experienced similar problems.
Can anyone help and explain what is going wrong???
[http-server] Exception calling scheduled listener: java.lang.NullPointerException
<c18;client18>: caught exception [java.lang.OutOfMemoryError] null
<c27;client27>: caught exception [java.lang.OutOfMemoryError] null
<c30;client30>: caught exception [java.lang.OutOfMemoryError] null
<c7;client7>: caught exception [java.lang.OutOfMemoryError] null
<c1;client1>: caught exception [java.lang.OutOfMemoryError] null
<c43;client43>: caught exception [java.lang.OutOfMemoryError] null
[http-server] Exception calling scheduled listener: java.lang.NullPointerException
<c10;client10>: caught exception [java.lang.OutOfMemoryError] null
Thanks
W
-
code leak & java == false ! (or are you running native code, ie using JNI?)
Or maybe it's just as simple as that:
Have you tried starting the monster by something like
Code:
java -Xmx256m Monster
?
for help on non-standard options type "java -X" on the console.
 : Beware of bugs in the above code - I have only proved it correct, not tried it.
-
What is Monster in java -Xmx256m Monster???
-
Ooops. Sorry, Monster is just a silly joke - I simply don't know the name
of your main class and so I chose "Monster" for the example.
The important thing is -Xmx256m which tells java to use up to
256 MBytes of mem instead of the default 64 MB or what it is.
 : Beware of bugs in the above code - I have only proved it correct, not tried it.
-
Yes I've tried that. We've changed the number various times and it still has problem.
-
what is the nullpointerexception error?
-
Sorry, no idea then.
Only this: the NullPointerException need not necessarily be related to the OutOfMemoryException. So - to start with - assuming that, I'd remove "the other system" again so that no OutOfMemoryExceptions occur and then try to find the reason for the NullPointerExceptions. After that, solve the memory problem. Good luck!
@blindasfcuk: you aren't asking what a NullPointerException is, are you?!
 : Beware of bugs in the above code - I have only proved it correct, not tried it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks