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

导入报错:memory size #66

Open
sinkcup opened this issue Aug 14, 2021 · 1 comment
Open

导入报错:memory size #66

sinkcup opened this issue Aug 14, 2021 · 1 comment
Assignees

Comments

@sinkcup
Copy link
Member

sinkcup commented Aug 14, 2021

今天同事反馈:中途有个页面上传失败。

image

初步判断是附件体积大,爆内存了。在没修复之前,临时方案是:把此页面删除,继续导入别的页面。

但目前删除页面需要删两个地方:本页面、index.html 中的索引,比较麻烦,难以操作。

@sinkcup sinkcup self-assigned this Aug 14, 2021
@sinkcup sinkcup changed the title 页面不存在时:跳过 导入报错:memory size Aug 14, 2021
sinkcup added a commit that referenced this issue Aug 14, 2021
sinkcup added a commit that referenced this issue Aug 14, 2021
@sinkcup
Copy link
Member Author

sinkcup commented Aug 14, 2021

改成了 fopen,一样报错,待验证是不是 cos 问题。

所以还是另一个方案:手动上传文件获得网盘 ID,然后把 HTML 包里的附件替换成小文件,导入单篇文章,然后编辑文章替换成真的附件 ID。

sinkcup added a commit that referenced this issue Aug 14, 2021
sinkcup added a commit that referenced this issue Aug 14, 2021
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

1 participant