[PR #373] [MERGED] Reducing Memory Consumption #1215

Open
opened 2026-01-29 17:00:22 +00:00 by claunia · 0 comments
Owner

📋 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: masterHead: memoryfix-new


📝 Commits (2)

  • 5c65ccc Fixing high memory usage
  • 5bcb974 Fixes #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.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/373 **Author:** [@Abhinav95](https://github.com/Abhinav95) **Created:** 5/26/2016 **Status:** ✅ Merged **Merged:** 5/26/2016 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `memoryfix-new` --- ### 📝 Commits (2) - [`5c65ccc`](https://github.com/CCExtractor/ccextractor/commit/5c65ccc12b6a7d80f54fc1c39adf123ebe67a305) Fixing high memory usage - [`5bcb974`](https://github.com/CCExtractor/ccextractor/commit/5bcb974b969d672114891dae32e7c0db9f8786a3) Fixes #353 - Memory consumption reduced by 180 MB ### 📊 Changes **5 files changed** (+53 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:00:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1215