This content has been marked as final.
Show 7 replies
-
1. Re: jboss Web-Console Memory
peterj Jun 3, 2009 11:05 AM (in response to rasa)You can find out what the app server is doing at any point in time by taking a thread dump and examining the stack trace for each thread.
As far as memory is concerned, what you are noticing does not strike me as an issue - a single request that allocates a lot of objects, such as for a daily/weekly/monthly report, can cause such a spike in memory usage. -
2. Re: jboss Web-Console Memory
rasa Jun 4, 2009 9:17 AM (in response to rasa)"PeterJ" wrote:
You can find out what the app server is doing at any point in time by taking a thread dump and examining the stack trace for each thread.
In my system thread dump is not possible. Because i have configured my log using log4j. So as per old conversation it is not possible to generate dump in that."PeterJ" wrote:
As far as memory is concerned, what you are noticing does not strike me as an issue - a single request that allocates a lot of objects, such as for a daily/weekly/monthly report, can cause such a spike in memory usage.
Yes, When it becomes below 300 system becomes slow. I am asking is it possible to get what all are happening in the application server in a particular period. I know that the application programs which executes is making the issue. But i don't how to identify which program takes more memory.
Please guide me to find out a solution .
Thanks And Regards
Rasa. -
-
4. Re: jboss Web-Console Memory
peterj Jul 3, 2009 4:52 PM (in response to rasa)"rasa" wrote:
What is this ????
What do you mean? I gave you a few suggestions for things you could try, and you indicated that none of those were possible. You mentioned a prior discussion but gave no link to that discussion. (No, I will not search for that discussion - it is your responsibility to provide clear information so that we can help you solve your problem.) So if you cannot do the things that would help you, what would you have me do?But i don't how to identify which program takes more memory.
Either use a memory profiler (jmap, VisualVM, Eclipse MAT), or run one app at a time. Hmm, you have AS 3.2.5, which JDK? Most of the tools I am familiar with need JDK 5 or 6. And what OS? -
5. Re: jboss Web-Console Memory
rasa Dec 3, 2009 8:04 AM (in response to rasa)"PeterJ" wrote:
What do you mean? I gave you a few suggestions for things you could try, and you indicated that none of those were possible. You mentioned a prior discussion but gave no link to that discussion. (No, I will not search for that discussion - it is your responsibility to provide clear information so that we can help you solve your problem.) So if you cannot do the things that would help you, what would you have me do?
Sorry Peter i extreamly sorry for the trouble, and also i apologize for the late reply."PeterJ" wrote:
Either use a memory profiler (jmap, VisualVM, Eclipse MAT), or run one app at a time. Hmm, you have AS 3.2.5, which JDK? Most of the tools I am familiar with need JDK 5 or 6. And what OS?
My jdk is 5 and os is linux. If i am using one of the profiler is it required to increase anthing in my server level -
6. Re: jboss Web-Console Memory
peterj Dec 3, 2009 11:53 AM (in response to rasa)My jdk is 5 and os is linux.
Good. You can use the jmap utility to dump the heap. And install VisualVM - you can download it separately or get it as part of JDK 6 (yes, you can have both JDK 5 and 6 installed at the same time and still use JDK 5 for JBoss AS - just set JAVA_HOME correctly.) Use VisualVM to load the heap dump - it has pretty decent tools for examining the heap contents. -
7. Re: jboss Web-Console Memory
rasa Jan 11, 2010 1:07 PM (in response to peterj)Thanks peter let me try this.