Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252741 - media-libs/xine-lib-1.1.15-r1: Application based on xine can take a lot of memory especially with HD movies
Summary: media-libs/xine-lib-1.1.15-r1: Application based on xine can take a lot of me...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-27 19:48 UTC by Amaury De Ganseman
Modified: 2010-02-24 21:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amaury De Ganseman 2008-12-27 19:48:14 UTC
If I play a movie of 1Go for ex., at the end of the movie my memory was nearly full. I can see that xine take progressively memory as far as the movie goes on.
I notice that it was only the case if mmap is used. Don't know exactly if this is normal or not but it can cause some trouble while playing big movies (like HD movies).

Reproducible: Always

Steps to Reproduce:
1. run kaffeine or gxine
2. play a movies (HD one for example)
3. wait and see, your memory taken by kaffeine or gxine will grows a lot.
4. See your swap usage after playing a 4Go movie ;-) (ok if you have 8Go of ram...)

Actual Results:  
Memory is nearly full

Expected Results:  
lesser memory usage

emerge --info:
Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28 x86_64)
=================================================================
System uname: 2.6.28 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Sat, 27 Dec 2008 06:45:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.openweb.be/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac accessibility acl acpi acpi4linux agg alsa amarok amazon amd64 apache apache2 arts asf atlas audiofile bcmath berkdb bluetooth bootsplash branding browserplugin bzip2 bzlib cairo caps cdda cddb cdinstall cdparanoia cdr cgi chroot cli codecs cpudetection cracklib crosscompile crypt css cups dbm dbus dga dio divx djbfft dpms dri dts dvb dvbplayer dvd dvdr dvdread dvi eds emboss encode esd evo exif extra fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimp ginac glib glitz glx gnome gnuplot gphoto2 gpm graphics gs gstreamer gtk gzip hal hash hddtemp http humanities icons iconv imagemagick imlib imlib2 ipv6 irc isdnlog java javacomm javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdm kerberos kipi koffice-plugin latex lcms ldap libnotify libsamplerate logitech-mouse loop-aes lzo mad matroska md5sum midi mikmod mmap mmx mmxext mng monkey moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpeg4 mplayer msn msnextras mudflap multilib musepack music musicbrainz ncurses network nfs nls nptl nptlonly nsplugin nvidia ogg oggvorbis omega openal opengl openmp openssh openssl oss pam paste64 pcap pcntl pcre pdf perl png povray ppds pppd publishers pulseaudio python qhull qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection reiserfs rtc ruby sblive science sdl session silc slang slp smi smp sox speex spell spl sql sqlite sse sse2 sse3 ssl startup-notification stream svg svgz swat sysfs tagwriting tcl tcltk tcpd theora threads threadsafe threadsonly tidy tiff tk toolbar truetype twolame type1 unicode urandom usb utf8 v4l v4l2 vim vim-syntax vim-with-x vlm vorbis wav wavpack wmp wxwindows x264 xcomposite xforms xft xine xml xorg xosd xpm xprint xrandr xrender xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ice1724" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB fr" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-29 01:03:49 UTC
I doubt there is anything that *Gentoo* devs can do about this. I would take it upstream. Regardless, assigning to maintainers for review.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-02-24 21:39:00 UTC
(In reply to comment #1)
> I doubt there is anything that *Gentoo* devs can do about this. I would take it
> upstream. Regardless, assigning to maintainers for review.
> 

http://bugs.xine-project.org/