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

taobao Platform can not trigger clearLRU #17040

Open
tangkaikk opened this issue May 24, 2024 · 0 comments · May be fixed by #17230
Open

taobao Platform can not trigger clearLRU #17040

tangkaikk opened this issue May 24, 2024 · 0 comments · May be fixed by #17230
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@tangkaikk
Copy link

Cocos Creator version

3.x

System information

All Devices in Taobaominigam

Issue description

taobao Platform can not trigger clearLRU.
in cache-manager function _cache,unzipAndCacheBundle, there is a mothed"isOutOfStorage" which will judge weather will trigger clearLRU, but in taobaominigame the right error regular expression is "outOfStorageRegExp = /10028/; "
so in xxx\cocos\editors\Creator\2.4.12\resources\builtin\adapters\platforms\taobao-minigame\wrapper\fs-utils.js, the code var outOfStorageRegExp = /the maximum size of the file storage/;
will change to var outOfStorageRegExp = /10028/;

Relevant error log output

No response

Steps to reproduce

when cache is out of memory, will cause this issue

Minimal reproduction project

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
2 participants