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

Upgrading to Kodi 19 results in RAR addon reporting "Not enough memory available to decompress file" #99

Open
pizzamx opened this issue Feb 20, 2021 · 9 comments

Comments

@pizzamx
Copy link

pizzamx commented Feb 20, 2021

The addon works fine until I upgrade Kodi to version 19.

This error msg came up right after each time I launch Kodi, and the memory is obvious enough to decompress rar archives.

In log file I can see this: "INFO : ADDON: Dll Destroyed - RAR archive support"

However, as other addons rely on vfs, I'm not observing any problem as file extraction works just fine.

Please let me know if there's anything else I should/could provide, thanks.

@Row
Copy link

Row commented Feb 27, 2021

Same issue.

@franckflo
Copy link

franckflo commented Mar 7, 2021

I experience the same problem. For me this happens when Kodi updates the video libary using one of the scrappers (I tried several scrappers and get the same error with each). I noticed that, if I only scrape one of the smaller video folders on my NAS, no problem. If I scrape a large folder with many movies (1000+), the WinRAR error comes up. FYI My HTPC has 24 Gb RAM. This was not an issue with Kodi 18.

(Note: if I switch the update method to "use local info" the error does not crop up}. So the error really stems from downloading library information for large video libraries: is the downloaded rar with the info too large, or is the rar archivve not allowed to use enough RAM in its new version?

Edit: it seems the error crops up after updating the db for the large Moveies folder, even if the scrapper is set to “use local information.” I also tried three different scrappers, same error with each. IF I exclude that large folder from updating, I do not get the error.

@pizzamx
Copy link
Author

pizzamx commented Mar 8, 2021

I experience the same problem. For me this happens when Kodi updates the video libary using one of the scrappers (I tried several scrappers and get the same error with each). I noticed that, if I only scrape one of the smaller video folders on my NAS, no problem. If I scrape a large folder with many movies (1000+), the WinRAR error comes up. FYI My HTPC has 24 Gb RAM. This was not an issue with Kodi 18.

Note: if I switch the update method to "use local info" the error does not crop up. So the error really stems from downloading library information for large video libraries: is the downloaded rar with the info too large, or is the rar archivve not allowed to use enough RAM in its new version?

My scenario is different from yours as my videos are all scrapped, so I don't think the plugin has anything to extract at all.

@r4nd0m123
Copy link

Same thing for me.

Nvidia Shield TV (2017)
Android 9 with 5 December 2020 patch level.
Using an external SSD drive to allow for large apps. E.g. Kodi.
Kodi 19
RAR archive plugin 4.0.0

@Boilerplate4u
Copy link

Boilerplate4u commented Apr 12, 2021

Having the same problem on both v19 and v20 (Win 10, 16 Gb ram)

INFO <general>: CAddonMgr::ADDON::CAddonMgr::FindAddons: kodi.binary.instance.vfs v3.0.0 installed

2021-04-12 08:57:35.025 T:6956    DEBUG <general>: Interface_General::ADDON::Interface_General::queue_notification -
RAR archive support - Error Message : 'Not enough memory available to decompress file'
2021-04-12 08:57:35.025 T:6956    ERROR <general>: AddOnLog: vfs.rar: CRarFile::Open: Open failed to cache file 
2021-04-12 08:57:35.026 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ArchiveList: List file from X://Archive//File... (encrypted: no)
2021-04-12 08:57:35.026 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ArchiveList: List file from X://Archive//File... (encrypted: no)
2021-04-12 08:57:35.028 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ArchiveList: List file from X://Archive//File... (encrypted: no)
2021-04-12 08:57:35.028 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ArchiveList: List file from X://Archive//File... (encrypted: no)
2021-04-12 08:57:35.039 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ArchiveExtract: List file from X:/Archive//File...
2021-04-12 08:57:35.046 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ArchiveExtract: List file from X:/Archive//File...
2021-04-12 08:57:35.125 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ProcessData: Processing data (3768040 / 12501675)
2021-04-12 08:57:35.130 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ProcessData: Processing data (4194045 / 12501675)
2021-04-12 08:57:35.197 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ProcessData: Processing data (7962344 / 12501675)
2021-04-12 08:57:35.202 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ProcessData: Processing data (8388090 / 12501675)
2021-04-12 08:57:35.267 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ProcessData: Processing data (12156648 / 12501675)
2021-04-12 08:57:35.272 T:6956    DEBUG <general>: AddOnLog: vfs.rar: CRARControl::ProcessData: Processing data (12501675 / 12501675)

@danf3232
Copy link

Same issue here. I presume it is due to the kodi upgrade to Python 3 and the addon not being updated yet.

I have found that the extraction works fine when watching rar movies but it glitches when doing a library update, as mentioned above. Until the deveoper updates the addon, I have just disabled it through the addon browser which keeps the library scan running smoothly and then enable it when I need to watch a rar movie.

Just a work around for now until it is updated.

@od3m
Copy link

od3m commented Jul 9, 2021

I´ve got the same problems with the latest version. Library scans take forever and it tries to unpack .idx and keeps telling me, there’s no space left (which isn't). Before Kodi 19(.1) i rolled back to an older version, where the problem doesn't exist. But with Kodi 19(.1) these opportunity is gone.
Any ideas left ?

@Woogz-git
Copy link

Anyone ever find a solution for this?

@Boilerplate4u
Copy link

Anyone ever find a solution for this?

Nope, no one seems to bother maintaining this add-on anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants