on 11-26-2009 8:10 AM
Hi all,
i am little confused about the memory allocation for the dispatcher and server0 jlaunch process.
In ConfigTool you can see that the heap memory size for the dispatcher is 203 MB and for the server0 1024MB.
If I do a 'top | grep jlaunch', it shows me other values...
dispatcher 515m 326m 66m
server0 1532m 1.1g 12m
I do not understand why?
Kind regards,
If I'm not mistaken those memory sizes include virtual memory.
Try:
ps -p <pid> -o pid,vsz,rss
....where "vsz" will give you the virtual memory size and "rss" will give you the non-swapped physical memory in kilobytes.
--
Nelis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just a quick note from a OS independent perspective: One should remember that the max heap size is just one fraction of the memory the VM will use, there is also the permanent generation (assuming a hotspot model VM), a variable amount of memory will be used depending on the number of java threads created and also memory for native thread allocation.
From a heap and perm size perspective, to see exactly how much of the memory that the VM has reserved from the machine is actually being used, you need to examine the garbage collector output or use java monitoring software like Wily
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could always use the SAP Netweaver Administrator to monitor Java memory consumption. Have you tried this ?
<port> is 5<sys-no>00 ...probably 50000 on Testdrive.
Otherwise using 'ps' as above should be accurate enough to give you an idea from an OS point of view.
--
Nelis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.