[Beginners Corner] - Re: Real Memory and JBoss on a Mac
by PeterJ
I assume that "Real Memory" is the current size of the Java object heap, and that "Used" reflects the amount of the heap in use at the time. In which case what you are seeing makes sense, especially if you are not setting min and max heap to the same value. (In other words, once the JVM uses some memory for the heap, it never gives it back to the OS, thus "Real Memory" will never drop.) "Allocated" might reflect how much memory the JVM has ask for, though not being familiar with the tool you are using I could not say. (Usually, the JVM will not use all of the heap memory it asks the OS for because it will run a major collection long before it has used up all of the heap, thus there is always a portion of the memory that has been requested that is never used, though the OS still keeps it in reserve just in case the JVM actually will use it at some point.)
My preferred mechanism to view the heap usage is to set -verbose:gc JVM option on the command line and analyze that output from it. This gives me a better idea of how the heap is growing, and can also be used to detect a possible memory leak.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123245#4123245
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123245
18 years, 4 months
[JBoss jBPM] - Re: Cannot build JBPM source from CVS
by clandestino_bgd
Hi kukeltje, firstly, thanx for response.
anonymous wrote :
| 1: could be a slip of the keyboard. I'm not sure.
|
Maybe :)
anonymous wrote :
| 2: linux, no not needed. only the java files of eclipse are needed.
|
My point was:
The build procedure unpacks eclipse, copies generated GPD jars and makes eclipse distribution ready to use ONLY for Windows. I thought that it may be useful the same thing for Linux, too, linux dist has 2 additional files:
- eclipse executable file and
- libcairo-swt.so
anonymous wrote :
| seems to be the cause. I know Koen has done some refactoring. Maybe not all is done yet. You can disable building the GPD in de ant file. See if that helps.
|
Yes, I saw Koen's post on dev archive.
Disabling building GPD certainly helped, now I have some artifacts built, but not all, e.g bamconsole and jboss.
I know that bamconsole is work in progress and that maybe is not integrated yet. But what is the case with jboss folder?
And now, something more important...
Ok, I installed fresh eclipse 3.3.1.1 for linux, downloaded GPD 3.1.2 binaries, copied everything, started new project, simple process def has been created. Everything cool...
But then I added few nodes: task node, new ESB node, mail node and nothing happens when I double click them, also I see no option when I right-click on them, so I cannot define task in a tasknode. Also, I cannot add swimlane.
Any idea, why is this happening?
Did anybode test GPD under Linux?
I tried both with java 5 and 6.
Thank you for help
Milan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123242#4123242
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123242
18 years, 4 months
[Beginners Corner] - Real Memory and JBoss on a Mac
by sammcgee
This is both a general and a specific question. Thanks for any help or information.
I'm running a J2EE app with JBoss 4.0.5 on a dual Intel Mac and "seem" to have a memory leak. I say "seem" because I'm not sure what to expect anymore.
The bottom line issue is that the "Real Memory" allotted to JBoss continues to grow until I get a OutOfMemory error. However, I have been running the YourKit Java Profiler and the Java garbage collection seems to be working the way it should. Or at least, after a reasonable amount of time, the heap memory sizes all return to their original numbers -- Allocated and Used.
I am purposefully stressing the system by creating very large Hashtables, so the Used memory (in YourKit) does get large quickly, and the Real Memory tracks this growth. But once the Java gc is done and Used memory drops back down, the Real Memory stays where it is.
The questions are:
Is this not unexpected? Should I expect the system to release the Real Memory after a certain amount of time or is its only option to grow until the app (JBoss) is restarted?
Is there a way to determine what it is that is taking up this Real Memory or to force it to be released without an app restart?
Anyone out there know of a JBoss memory leak that would explain this?
Thanks for any help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123238#4123238
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123238
18 years, 4 months