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 leak #77

Open
albandum opened this issue Sep 30, 2020 · 2 comments
Open

Memory leak #77

albandum opened this issue Sep 30, 2020 · 2 comments

Comments

@albandum
Copy link

Hi and thanks for RJB, it's a beautiful tool :)

I'm using it in a similar fashion than this issue states : #65
I've tried with and without sidekiq, both run memory leaks for me.

You can find here a video of the memory leak happening within a docker container : whenever the script ends the memory isn't freed, and if I run it again, the memory usage keeps going up indefinitely.

The script is also attached on the link. Any idea what I could add to the script to free up the memory ?

Thanks a lot

@juanb23
Copy link

juanb23 commented Aug 19, 2024

Are there any updates on this issue? I am using Aspose Cells via the Ruby Java Bridge in a Rails application. Loading from a template freezes and the memory used by the Aspose cells code never frees the memory used.

@arton
Copy link
Owner

arton commented Aug 25, 2024

It seems that Docker kept the most used memory in the container process.
When the script finished running, Linux frees all memory of Ruby-RJB-JVM = the process used.
However it was effected in the conatiner process, not in hosted environment (Docker process itself).

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

3 participants