-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
PDF files larger than 128MB are not included in asset file content searching #9500
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
Comments
应该是因为建立 PDF 内容索引导致的,麻烦发一下这个 PDF 文件给我们测试看看 845765@qq.com |
感谢提供测试数据,下个版本我们会限制资源文件索引 PDF 大小为 64MB,超过这个大小的 PDF 不支持内容搜索。 |
64MB可能有点小,我看了一下我的asset文件夹下,基本上100MB以内,有两个300MB的,以上都没出现过问题,只有这个接近900MB的出现了问题,感觉可以限制到128左右 |
好的,那就限制在 128MB 看看,后面可能可以支持设置调整,看后续需求吧。 |
等需求吧,不是扫描版的 PDF 很少有这么大的。 |
存在一种可能:扫描版加文字夹层。 |
国内没有几个提供原版PDF的出版社,大部分都是扫描版加ocr文字夹层,直接限制128可能会有其他使用这个功能的人出现问题,还是加设置比较好 |
这样吧,咱们加个环境变量 |
当增加较大PDF文件时候,内存量占用异常
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
复制一个大PDF文件到内容的时候,就这样了,几次尝试都是相同的结果
Expected result
正常的占用
Screenshot or screen recording presentation
No response
Version environment
Log file
siyuan.log
More information
No response
The text was updated successfully, but these errors were encountered: