Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[SOLVED] Firefox 30 eats all my RAM on Youtube HTML5 videos

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
equeim
n00b
n00b
Posts: 19
Joined: Sat Jun 14, 2014 11:47 am

[SOLVED] Firefox 30 eats all my RAM on Youtube HTML5 videos

  • Quote

Post by equeim » Sat Jun 14, 2014 12:18 pm

If I pause a video, firefox stops increase size of process. However firefox doesn't free memory after I close the tab. In about:memory there is:

Code: Select all

├──3,724.98 MB (94.13%) ── heap-unclassified
/etc/portage/make.conf

Code: Select all

bobertoo KSP_linux # cat /etc/portage/make.conf
ACCEPT_KEYWORDS="~amd64"
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -mtune=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
EMERGE_DEFAULT_OPTS="-j3"
MAKEOPTS="-j7"
FEATURES="preserve-libs ccache"
CCACHE_SIZE="1G"
PORTAGE_BUNZIP2_COMMAND="lbunzip2 -n6"
PORTAGE_BZIP2_COMMAND="lbzip2 -n6"
PORTAGE_NICENESS=19
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="vdpau mtp gstreamer mmx sse sse2 threads -bindist -systemd -gnome -kde -doc -bluetooth -wxwidgets -qt4 -cups -crypt"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"

SYNC="rsync://rsync2.ru.gentoo.org/gentoo-portage"

LINGUAS="ru ru_RU"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev"
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage"
emerge -pv firefox

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] www-client/firefox-30.0  USE="alsa dbus gstreamer jit libnotify minimal startup-notification -bindist -custom-cflags -custom-optimization -debug -hardened (-pgo) -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg -system-sqlite {-test} -wifi" LINGUAS="ru -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW -zu" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Video: x11-drivers/nvidia-drivers-340.17
It started after upgrade to firefox 30.
Last edited by equeim on Sun Jun 15, 2014 11:22 am, edited 1 time in total.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Sat Jun 14, 2014 4:06 pm

Which versions of libav/fmpeg and gst-plugins-libav are installed ?
Top
equeim
n00b
n00b
Posts: 19
Joined: Sat Jun 14, 2014 11:47 am

  • Quote

Post by equeim » Sat Jun 14, 2014 4:40 pm

emerge -pv gst-plugins-libav

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-plugins/gst-plugins-libav-1.2.0:1.0  USE="orc" 0 kB
emerge -pv ffmpeg

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-video/ffmpeg-2.2.3-r1:0/52.55.55  USE="X aac alsa bzip2 encode hardcoded-tables iconv mmx mp3 network opengl sdl sse sse2 threads truetype vdpau vorbis x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -avx -avx2 -bindist -bluray -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fma3 -fma4 -fontconfig -frei0r -gme -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -ladspa -libass -libcaca -libsoxr -libv4l (-mips32r2) (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -mmxext -modplug (-neon) -openal -openssl -opus -oss -pic -pulseaudio -quvi -rtmp -schroedinger -speex -sse3 -sse4 -sse4_2 -ssh -ssse3 -static-libs {-test} -theora -twolame -v4l -vaapi -vpx -wavpack -webp -x265 -zvbi" ABI_X86="(64) -32 (-x32)" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 kB
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Sat Jun 14, 2014 7:51 pm

Just a hunch, but try to downgrade to media-video/ffmpeg-1.2.6.

If that helps, I'll post what this guess was based upon.
Top
LukynZ
Apprentice
Apprentice
User avatar
Posts: 230
Joined: Fri Dec 19, 2008 11:56 am
Location: The Czech Republic

  • Quote

Post by LukynZ » Sat Jun 14, 2014 8:19 pm

Probably same problem here but I have huge memmory leak then. Third hard reset this day....more than last year....downgrading now. I have same ffmpeg version, however with FF29 it works fine.

I bet for gstreamer 1 problem as long as FF29 use 0.10ver
Top
equeim
n00b
n00b
Posts: 19
Joined: Sat Jun 14, 2014 11:47 am

  • Quote

Post by equeim » Sat Jun 14, 2014 9:12 pm

I doubt that it is ffmpeg issue, because on Arch system I have the same versions of Firefox and ffmpeg and everything works fine. However I will try this.
Top
equeim
n00b
n00b
Posts: 19
Joined: Sat Jun 14, 2014 11:47 am

  • Quote

Post by equeim » Sun Jun 15, 2014 11:21 am

Downgrading to ffmpeg-1.2.6-r1 solved the problem. Why gst-libav on Arch doesn't depend on ffmpeg, while Gentoo ebuild depends? In it's README written that it contains "internal copy of the FFmpeg source code". Also I have noticed that media-plugins/gst-plugins-libav has 1.2.0 version, while the latest stable release is 1.2.4 (other gstreamer plugins in portage tree updated to 1.2.4)

https://bugs.gentoo.org/show_bug.cgi?id=494282
It seems that gst-plugins-libav-1.2.0 isn't compatible with ffmpeg2.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Mon Jun 16, 2014 6:01 am

equeim wrote:https://bugs.gentoo.org/show_bug.cgi?id=494282
It seems that gst-plugins-libav-1.2.0 isn't compatible with ffmpeg2.
This was (more or less) the problem I've expected - I recalled it from the upstream bug side.
gstreamer 1.4.0 is expected to be released in a month or so - will most likely work with fmpeg2 then.
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Sun Jun 22, 2014 10:11 am

*subscribed*

most likely I've also run into this issue - although I'm using html5 video rather seldom
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
EoD
n00b
n00b
User avatar
Posts: 36
Joined: Fri May 30, 2008 8:25 pm

  • Quote

Post by EoD » Mon Jun 23, 2014 9:23 am

There is a fix for gstreamer 1.2.4: https://bugs.gentoo.org/show_bug.cgi?id=494282#c15
Sun Blade 100 (UltraSPARC IIe) server with multilib and Java
----
Gentoo/SPARC, Gentoo/AMD64, Gentoo/x86
Top
yoshi314
l33t
l33t
User avatar
Posts: 852
Joined: Thu Dec 30, 2004 9:33 pm
Location: PL
Contact:
Contact yoshi314
Website

  • Quote

Post by yoshi314 » Tue Jun 24, 2014 9:04 am

that memleak is pretty catastrophic. i hope fix hits portage soon.
~amd64
Top
v_andal
Guru
Guru
Posts: 549
Joined: Tue Aug 26, 2008 4:25 pm
Location: Germany

  • Quote

Post by v_andal » Wed Jun 25, 2014 7:26 am

New version of ffmpeg also kills stable mplayer. I had to switch to ~amd64 version. I wonder, why was it marked stable so early?
Top
equeim
n00b
n00b
Posts: 19
Joined: Sat Jun 14, 2014 11:47 am

  • Quote

Post by equeim » Wed Jun 25, 2014 1:51 pm

gst-plugins-libav updated to 1.2.4
Memory leak with ffmpeg2 fixed
Top
Post Reply

13 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic