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 issue #21

Open
SimonLi5601 opened this issue Mar 29, 2018 · 2 comments
Open

Memory issue #21

SimonLi5601 opened this issue Mar 29, 2018 · 2 comments

Comments

@SimonLi5601
Copy link

This is a really nice feature. We tried it and it worked well for annotating the free text. We also encountered the same memory issue you already noticed. I believe the Apache common pool is not working as expected. I used JCasPool instead, to replace ObjectPool jcasPool. It seems to work much better. Hope this information can help.

@sdumitriu
Copy link
Member

Ah, that's useful to know. Would you be able to submit a pull request?

@SimonLi5601
Copy link
Author

Just made a pull request. This change solely focus on the GC issue I encountered.
According to UIMA development guideline, in order to make an application to be thread-safe, need to produce multithreadable AE. But it seems the memory usage will go up as well when I have multiple (3) AE, but I don't see GC problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants