• Martyn Russell's avatar
    libtracker-common: Re-instate setrlimit() · 8093b8b0
    Martyn Russell authored
    Previously it was disabled due to GStreamer constantly causing high memory use.
    
    Now we have re-enabled it and instead of a flat 512Mb (or 80Mb for 64bit) limit,
    we use 50% of memory capping at MAXLONG (2Gb on 32bit machines) and using
    at least 256Mb as a minimum.
    
    This was done to fix my desktop with 4Gb going OOM from a broken PNG file
    8093b8b0
Name
Last commit
Last update
data Loading commit data...
docs Loading commit data...
examples Loading commit data...
m4 Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.pre-0-6-93 Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.decl Loading commit data...
NEWS Loading commit data...
README Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gitlog-to-changelog Loading commit data...
tracker.doap Loading commit data...