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

runtimeCache #12

Open
cagnulein opened this issue Jan 11, 2016 · 2 comments
Open

runtimeCache #12

cagnulein opened this issue Jan 11, 2016 · 2 comments

Comments

@cagnulein
Copy link

Hi, great project!
I'm working with images and documents, is it possible to turn off runtimeCache because i receive a lot of OOM.
Let me know

@iainconnor
Copy link
Owner

An excellent point. This should at very least be changed to an LRU cache
with a size constraint.

On Mon, Jan 11, 2016 at 1:26 PM, cagnulein [email protected] wrote:

Hi, great project!
I'm working with images and documents, is it possible to turn off
runtimeCache because i receive a lot of OOM
Let me know


Reply to this email directly or view it on GitHub
#12.

@cagnulein
Copy link
Author

I've partially solved: my issue was against JSOUP document and images.

  • JSOP Document: i convert it to string (.html()) and i save this string with your library. Works great!
  • Images: i decided to save it as file externally without using your library. I don't need to cache in memory.

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

2 participants