Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kodi: set MALLOC_MMAP_THRESHOLD_=524288 for 64bit cpus #1286

Merged
merged 1 commit into from
Feb 7, 2017

Conversation

lrusak
Copy link
Member

@lrusak lrusak commented Feb 7, 2017

This fixes the "memleak" (not actually a memleak) issue on 64bit systems. It's actually a memory fragmentation issue.

see, xbmc/xbmc#11620
and, https://bugzilla.redhat.com/show_bug.cgi?id=843478

Copy link
Member

@chewitt chewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to everyone in Kodi and LE teams who burned midnight oil and CPU cycles to figure this out. Kudos to @popcornmix for the eureka moment :)

@MilhouseVH
Copy link
Contributor

MilhouseVH commented Feb 7, 2017

This is working as expected on x86_64 and RPi/RPi2 - many thanks.

@chewitt chewitt merged commit 157ca22 into LibreELEC:master Feb 7, 2017
chewitt added a commit that referenced this pull request Feb 7, 2017
backport of #1286 (kodi: set MALLOC_MMAP_THRESHOLD_=524288 for 64bit cpus)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants