LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-05-2008, 12:34 PM   #1
kramer2718
Member
 
Registered: Jul 2006
Posts: 46

Rep: Reputation: 15
How Dump Live Process Memory


Hi guys, thanks for reading. I've got this process that is leaking memory. I'd like to inspect it's memory (specifically heap). Unfortunately, it is very crucial and sending it a SIGSEGV is not a good option. Is there any way to get a dump of the process without killing it?

Thanks again.
 
Old 12-06-2008, 09:22 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
cat /proc/<pid>/smaps
 
Old 12-07-2008, 11:24 PM   #3
kramer2718
Member
 
Registered: Jul 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Cool. Thanks for the info. Any ideas what would be the best way to inspect it? It happens to be a JVM so are there any Java aware tools for core dump inspection?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Process crashes and does not dump core traene Programming 5 03-09-2024 03:28 AM
analyze process dump using GDB kskkumar Linux - Software 2 05-16-2009 05:41 AM
Memory dump command? fanoliv Linux - General 1 03-29-2008 12:56 AM
restart process after dump abselect Linux - General 1 10-18-2006 09:22 PM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration