[gst-devel] memory usage on a small gstreamer application

Michael Horbovetz (horb) horb at cisco.com
Tue May 22 17:51:09 CEST 2007

i created a small gstreamer application.  it creates a pipeline, two
filesrc elements, 1 fakeadder element (same as adder), and 1 fakesink
element.  each filesrc element reads from a file and sends the
information down the pipeline to the fakeadder.  the fakeadder does no
processing and just pushes it to the fakesink.  the data is then
displayed to the console.

i put a sleep in the code right after all this processing and before the
pipeline is destroyed.

the application is dynamically linked and is running on a mips processor
with a 32M flash part and a 64M DDR RAM part.  montavista linux is the
operating system and the root filesystem is nfs mounted.

to get the following memory numbers, i did a cat on the proc filesystem.
would anyone like to comment on the memory numbers?  i realize the
memory numbers are virtual numbers but seems like quite a bit of memory
for such a small application or is this typical?

Name:	proto4
State:	S (sleeping)
SleepAVG:	88%
Tgid:	130
Pid:	130
PPid:	1
TracerPid:	0
Uid:	0	0	0	0
Gid:	0	0	0	0
FDSize:	256
VmSize:	   44804 kB
VmLck:	       0 kB
VmRSS:	    3352 kB
VmData:	   34408 kB
VmStk:	     172 kB
VmExe:	      12 kB
VmLib:	    5680 kB
VmPTE:	      44 kB
Threads:	2
SigPnd:	00000000000000000000000000000000
ShdPnd:	00000000000000000000000000000000
SigBlk:	00000000000000000000000000000000
SigIgn:	00000000000000000000000000000000
SigCgt:	00000000000000000000000080000000
CapInh:	0000000000000000
CapPrm:	00000000fffffeff
CapEff:	00000000fffffeff


More information about the gstreamer-devel mailing list