mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #373] [MERGED] Reducing Memory Consumption #1215
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/373
Author: @Abhinav95
Created: 5/26/2016
Status: ✅ Merged
Merged: 5/26/2016
Merged by: @cfsmp3
Base:
master← Head:memoryfix-new📝 Commits (2)
5c65cccFixing high memory usage5bcb974Fixes #353 - Memory consumption reduced by 180 MB📊 Changes
5 files changed (+53 additions, -44 deletions)
View changed files
📝
src/lib_ccx/ccx_demuxer.c(+1 -1)📝
src/lib_ccx/file_functions.c(+13 -10)📝
src/lib_ccx/lib_ccx.c(+23 -0)📝
src/lib_ccx/lib_ccx.h(+5 -4)📝
src/lib_ccx/ts_tables_epg.c(+11 -29)📄 Description
Fixes #353
EPG variables were being initialized and taking up memory or around 180 MB while never being used. Fixed this by initializing them only when necessary.
Also includes a fix to passing the wrong context to the detect_myth() function, which was surprisingly still working with the live repository.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.