Sudden rise in heap memory of a process


 
Thread Tools Search this Thread
Operating Systems Solaris Sudden rise in heap memory of a process
# 1  
Old 04-11-2014
Sudden rise in heap memory of a process

Hi,

There is a abrupt memory rise observed for a process on solaris.
When the process is started the memory is around 268 MB and is stable for a day. Then suddenly the memory increased to 4364 MB.

Below is the pmap -xs output for the process (only for heap)
Code:
         Address     Kbytes        RSS       Anon     Locked Pgsz Mode   Mapped File
000000010012A000         24         24         16          -   8K rwx--    [ heap ]
0000000100130000        192        192        128          -  64K rwx--    [ heap ]
0000000100160000        192          -          -          -    - rwx--    [ heap ]
0000000100190000       2496       2496        320          -  64K rwx--    [ heap ]
0000000100400000     163840     163840     147456          -   4M rwx--    [ heap ]
000000010A400000    4190208          -          -          -    - rwx--    [ heap ]
000000020A000000       4096       4096       4096          -   4M rwx--    [ heap ]

Can anyone please help me in understanding the reason of sudden allocation of heap as huge as 4190208 (4 GB). What is the significance of empty RSS and Anon as observed for adress space
Code:
0000000100160000        192          -          -          -    - rwx--    [ heap ]
and
000000010A400000    4190208          -          -          -    - rwx--    [ heap ]

I also observed a sudden rise in CPU utilization when the memory rise for the process. And after that CPU utilzation was normal.

Can this be linked to sudden memory rise !

Moderator's Comments:
Mod Comment Please use code tags next time for your code and data. Thanks

Last edited by vbe; 04-11-2014 at 10:35 AM..
# 2  
Old 04-11-2014
Trying to figure out what a process is doing just from how much memory it uses is like trying to figure out someone's personality via the bumps in their skull. It might be leaking memory if it's leaking memory, but might not be leaking memory if it's not. We really can't tell with this little information.

What is the process? What does it do?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Troubleshooting sudden high memory usage

Hi, This morning there was an app that caused a sudden spike in I/O and memory usage in the server. We found the reason for the I/O, however the memory spike was something new, as it had never happened before. I figured out what caused the memory spike, however, how do I investigate why... (6 Replies)
Discussion started by: anaigini45
6 Replies

2. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

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

3. Emergency UNIX and Linux Support

CPU and memory utilization of a process, by process name

Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking. G (4 Replies)
Discussion started by: ggayathri
4 Replies

4. UNIX for Dummies Questions & Answers

Checking heap memory size for java app

Hi I have one Java application installed in my Solaris system. Is there a way to find out the heap memory allocated size/used size/free size for the particular Java process? If anyone knows the command, please let me know. Even I appreciate if I have any scripts to find out the same. ... (0 Replies)
Discussion started by: nthiruvenkatam
0 Replies

5. Linux

copy_from_user does not copy from process-heap

Hello all, I need a positive reply from you. I want to copy the user-process-heap to the kernel space memory. For that, I wrote the following code but it does not copy. ---------------- code -------------- unsigned long length_of_heap_vma = < length of vma pointing to process-heap > ; void *... (2 Replies)
Discussion started by: najoshi
2 Replies

6. AIX

lvm_queryvg call does not work properly and results in a sudden memory rise.

On AIX 5.3 host, the lvm_queryvg call does not work properly and results in a sudden memory rise. This is happening on one particular host and the call works fine on another host. Is this a known issue and is there any patch available for this? (0 Replies)
Discussion started by: sandiworld
0 Replies

7. AIX

AIX 5.3 Heap Memory with SAP

Any idea whether this parameter can be set / adjusted and where please? (3 Replies)
Discussion started by: johnf
3 Replies

8. AIX

Process using the most memory

Hi:- Is there an easy way to find out which process is consuming the most memory on an AIX server? Thanks, (5 Replies)
Discussion started by: janet
5 Replies

9. UNIX for Dummies Questions & Answers

Memory used by a process

Hello all 'top' command shows the top 15 processes in terms of CPU usage. Is there any other command in UNIX ,that will show the top processes in terms of memory usage ? or is there a command, that will give me the memory usage of a particular process ,if I pass the process id as a... (3 Replies)
Discussion started by: luft
3 Replies

10. UNIX for Dummies Questions & Answers

Memory used by a particular process

how to get memory used by a particular process in unix? (3 Replies)
Discussion started by: superprogrammer
3 Replies
Login or Register to Ask a Question