01-28-2016
Java process showing high virtual memory
Hi All,
I have a java process which is showing high virtual memory utilization in client server. But the same process is showing comparitively lesser virtual memory consumption. I understand that virtual memory shown is not of much importance for the general user in normal condition, my client is adament for an answer as to why the virtual memory is shown to be high in their server and not in our internal servers. For starters, I added a variable MALLOC_ARENA_MAX variable to their java code (which i regretfully can't share) and it helped a bit, but didn't show appreciable change. Please suggest. I only want the logic why its shown different in different servers. They are using centos6+. Waiting desperately for your suggestions.Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all
im using the ps -ef "args vsz" | some.exe
but the result is in kb , is there some kind of way or flag ( didnt found in the ps man )
to convert me this data to GB or MG in human readable format ?
Thanks (1 Reply)
Discussion started by: umen
1 Replies
2. Shell Programming and Scripting
Hi Unix Gurus i am somewhat new to unix scripting so need your help to
create a script as below.
# This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1
# minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies
3. UNIX for Advanced & Expert Users
Hello all,
To do a self-exec or self-restart of a process when it crosses the threshold memory limit, I use the value of virtual memory size field from /proc/$pid/stat file and do a self-exec.
According to man 5 proc
vsize %lu
Virtual memory size in bytes.
I just want to... (2 Replies)
Discussion started by: matrixmadhan
2 Replies
4. Shell Programming and Scripting
Hello Team,
I need help in preparing script to check for high cpu utilisation for java process.
I have many java process on my system which consumes high cpu so i have to monitor
it using script.
---------- Post updated 12-10-10 at 02:21 AM ---------- Previous update was 12-09-10 at... (1 Reply)
Discussion started by: coolguyamy
1 Replies
5. Shell Programming and Scripting
Hello,
I'd like to set a cron job that runs a shell script every 30 minutes or so to restart a java based service if the memory gets above 80%. Any advice on how to do this?
Thanks in advance!
- Ryan (19 Replies)
Discussion started by: prometheon123
19 Replies
6. HP-UX
Hi all,
Is there any command which shows the virtual memory usage of a particular process in HP-UX machine.
I have tried with ps, top but could not get what I want.
Kindly provide me a solution.
Thanks in Advance
ARD (4 Replies)
Discussion started by: ard
4 Replies
7. Red Hat
Hello All,
We have a jave server running on both linux and Solaris environments.
On solaris,it consumes only 600-700MB whereas it goes upto 21G in Linux.
I am monitoring the memory consumption through top command.
Is this high memory consumption expected in Linux? (1 Reply)
Discussion started by: prasperl
1 Replies
8. Solaris
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
9. AIX
Hi,
This thread has been posted before on linuxquestions.org, but no answer, maybe because this is unix question and not linux. I'm posting the same thread here, hope I can get an answer from someone in the meantime, I wish I could post of emergency thread but it needs bits which I don't have :... (6 Replies)
Discussion started by: aLuViAn
6 Replies
10. HP-UX
Hi All,
I am using HP-UX 11i v1(B11.11) servers for my work and its memory (RAM) utilization is consistenly 80% for the last one year. Though I am not facing any issues with this high memory utilization I just want to know the below queries:
1) Is it the default behavior of HP-UX systems?
2)... (20 Replies)
Discussion started by: ssk250
20 Replies
LEARN ABOUT DEBIAN
xkbvirtualmodstoreal
XkbVirtualModsToReal(3) XKB FUNCTIONS XkbVirtualModsToReal(3)
NAME
XkbVirtualModsToReal - Determines the mapping of virtual modifiers to core X protocol modifiers
SYNOPSIS
Bool XkbVirtualModsToReal (XkbDescPtr xkb, unsigned int virtual_mask, unsigned int *mask_rtrn);
ARGUMENTS
- xkb keyboard description for input device
- virtual_mask
virtual modifier mask to translate
- mask_rtrn
backfilled with real modifiers
DESCRIPTION
Xkb maintains a virtual modifier mapping, which lists the virtual modifiers associated with, or bound to, each key. The real modifiers
bound to a virtual modifier always include all of the modifiers bound to any of the keys that specify that virtual modifier in their vir-
tual modifier mapping. The server.vmodmap array indicates which virtual modifiers are bound to each key; each entry is a bitmask for the
virtual modifier bits. The server.vmodmap array is indexed by keycode.
The vmodmap and vmods members of the server map are the "master" virtual modifier definitions. Xkb automatically propagates any changes to
these fields to all other fields that use virtual modifier mappings.
For example, if Mod3 is bound to the Num_Lock key by the core protocol modifier mapping, and the NumLock virtual modifier is bound to they
Num_Lock key by the virtual modifier mapping, Mod3 is added to the set of modifiers associated with NumLock.
The virtual modifier mapping is normally updated whenever actions are automatically applied to symbols and few applications should need to
change the virtual modifier mapping explicitly.
Use XkbGetMap to get the virtual modifiers from the server or use XkbGetVirtualMods to update a local copy of the virtual modifiers bind-
ings from the server. To set the binding of a virtual modifier to a real modifier, use XkbGetVirtualMods
If the keyboard description defined by xkb includes bindings for virtual modifiers, XkbVirtualModsToReal uses those bindings to determine
the set of real modifiers that correspond to the set of virtual modifiers specified in virtual_mask. The virtual_mask parameter is a mask
specifying the virtual modifiers to translate; the i-th bit (0 relative) of the mask represents the i-th virtual modifier. If mask_rtrn is
non-NULL, XkbVirtualModsToReal backfills it with the resulting real modifier mask. If the keyboard description in xkb does not include vir-
tual modifier bindings, XkbVirtualModsToReal returns False; otherwise, it returns True.
RETURN VALUES
True The XkbVirtualModsToReal function returns True if the keyboard description in xkb does include virtual modifier bindings.
False The XkbVirtualModsToReal function returns False if the keyboard description in xkb does not include virtual modifier bind-
ings.
SEE ALSO
XkbGetMap(3), XkbGetVirtualMods(3)
NOTES
It is possible for a local (client-side) keyboard description (the xkb parameter) to not contain any virtual modifier information (simply
because the client has not requested it) while the server's corresponding definition may contain virtual modifier information.
X Version 11 libX11 1.5.0 XkbVirtualModsToReal(3)