Am 31.05.2014 um 09:30 schrieb Ralph Böhme <r...@netafp.com>:

> Hi
> 
> libtracker-common: memory limits on systems with large amounts of RAM
> 
> On systems with large amounts of RAM get_memory_total() could overflow
> and return a negative value, as a result memory would be limited to
> MEM_LIMIT_MIN (which is 256 MB atm).
> 
> diff:
> <https://github.com/slowfranklin/tracker/commit/faf826c57ee33c9e29388c586f14b26451416934>
> 
> patch:
> <https://github.com/slowfranklin/tracker/commit/faf826c57ee33c9e29388c586f14b26451416934.patch>

this works nicely on my test system.

Without the patch:

  12 Mai 2014, 14:33:09: Tracker: Setting memory limitations: total is 18,4 EB, 
minimum is 256 MB, recommended is ~1 GB
  12 Mai 2014, 14:33:09: Tracker:   Virtual/Heap set to 268,4 MB (50% of total 
or MAXLONG)

With the patch:

  Tracker-Message: Setting memory limitations: total is 68,4 GB, minimum is 256 
MB, recommended is ~1 GB
  Tracker-Message:   Virtual/Heap set to 2,1 GB (50% of total or MAXLONG)

Cheerio!
-Ralph
_______________________________________________
tracker-list mailing list
tracker-list@gnome.org
https://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to