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

ram full and slow when change pdf file #130

Closed
leontecluyen opened this issue Jul 19, 2024 · 3 comments · Fixed by #148
Closed

ram full and slow when change pdf file #130

leontecluyen opened this issue Jul 19, 2024 · 3 comments · Fixed by #148

Comments

@leontecluyen
Copy link

leontecluyen commented Jul 19, 2024

*.vue file

import { VuePDF, usePDF } from '@tato30/vue-pdf'

VuePDF :pdf="pdf" class="test"

script
const fileURL = ref('')
const { pdf } = usePDF(fileURL)

const setURL = () =>
{
fileURL.value = applyData.value.rent_file_url
}

---> applyData is response from api
when call api many times it so slow
sorry for my bad english

@TaTo30
Copy link
Owner

TaTo30 commented Jul 19, 2024

Please, share the PDF file and a code example to reproduce the issue.

@deepfaith
Copy link

Hi, I hope there's a fix on this it seems the highlighting causes ram to utilize full usage.

Btw, thanks for the package, it helps me a lot!

@chronicadventure
Copy link

this may be related to what i just posted on our conversation #135, even loading the same pdf over and over seems to spawn more workers and not close the old ones thus increasing ram each time

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

Successfully merging a pull request may close this issue.

4 participants