cancel
Showing results for 
Search instead for 
Did you mean: 

Get memory usage (RAM)

Private_Member_19084
Active Contributor
0 Kudos


Hi experts,

we made an upgrade which did consum a lot of memory, at least I can see that since this date a lot of memory is used.

However, the upgrade is already over and the system was restarted but still a huge amount of memory is gone.

How can I see, which process is using the memory or how it is allocated?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

former_member182657
Active Contributor
0 Kudos

Hi Christian,

Could you share OS & DB details to suggest you on the issue.Meanwhile,if using linux then you could locate it via commands


top ,

free -m ,

/proc/meminfo

& vmstat

In addition share system logs from SM21 & SM50 process usage details.

Regards,

isaias_freitas
Advisor
Advisor
0 Kudos

You can also use:

ps aux

or

ps elf

to identify processes that are potentially using much memory.

Then, use pmap <pid> to see more details of that particular process, and confirm that it is indeed using much memory.

Notice that, depending on the OS, part of the SAP Extended Memory (which is shared amongst all work processes) could be included in the memory usage of a work process. pmap can help identifying that the memory in use is not part of shared memory segments, but local to the process.

Answers (3)

Answers (3)

Private_Member_19084
Active Contributor
0 Kudos

So now I understand the free -m.

And there is the -/+ buffer/cache which is using all the memory.

So the memory is there and just used for disc buffering.

However, on what is it depending that this buffinger is starting?
because it wasn't used since weeks and now it did start this buffering-method.

Kind regards

Private_Member_19084
Active Contributor
0 Kudos

Thx to everybody for help and sorry for less info.

It is an ABAP-System (ECC) on Linux RHEL (VM).

DB is SAP ASE.

I know that in SAP itself I can check the memory usage and I got it also via Technical Monitoring, where I figured out that a lot is consumed.

But I can not see there, what is consuming it.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Christian,

Goto ST03n on your ECC system and check Memory use statistics.

You can use ABAP memory inspector and take memory snapshots to compare

On RHEL you can use top command or ps aux --sort -rss.

Regards,

isaias_freitas
Advisor
Advisor
0 Kudos

Is your system now based on a Netweaver 7.40?

The overall memory usage of 7.40 has increased...

Private_Member_19084
Active Contributor
0 Kudos

Understand, however not increasing from 50gb to 110gb.

And also on test or dev system this didn't happen after migration that extreme.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Christian,

Dependents on what system you have  - ABAP or JAVA ?

What is your OS and DB ?

You can search for manuals of your OS to check command supported for checking memory utilization.

Also, from SAP level, you have ABAP transactions to monitor all this, and in JAVA you can monitor thread and heap..

So it all comes down to all of the above.

Regards,