Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Space or Memory Leak

RE: Space or Memory Leak

From: Stephen Lee <Stephen.Lee_at_DTAG.Com>
Date: Thu, 13 Mar 2003 07:34:22 -0800
Message-ID: <>

Two methods that come to mind are:

  1. "ps" command. See man page for options on your system.
  2. If "top" has been installed on your system and made executable by non-root users.

If you have root privilege, and some programming skill, and this is Sys Five-ish (SVR4 ... more or less), you can read up on reading the "files" in the /proc filesystem.

You have to exercise a little common sense when interpreting the results. Just because you see a program using more memory doesn't necessarily mean it has a memory leak. A steady, one-way, growth in memory usage should make one suspect a leak.

A memory leak is caused by code that allocates memory (in C, using a command like malloc), but the programmer forgot to release the memory (in C, with a command like free) when it is no longer needed. The program (or "programme" if it wasn't written in USA) calls this section of code over and over. So the code keeps malloc-ing more memory, but never frees it.

-----Original Message-----
> In case you face some space or memory leak problems,
> how you can see the problem on OS side, I mean does
> it load more CPU utilization or Memory...

Please see the official ORACLE-L FAQ:
Author: Stephen Lee
  INET: Stephen.Lee_at_DTAG.Com

Fat City Network Services    -- 858-538-5051
San Diego, California        -- Mailing list and web hosting services
To REMOVE yourself from this mailing list, send an E-Mail message
to: (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Mar 13 2003 - 09:34:22 CST

Original text of this message