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

Exorbitantly High Memory usage ? #109

Open
nabeel99 opened this issue Aug 18, 2023 · 1 comment
Open

Exorbitantly High Memory usage ? #109

nabeel99 opened this issue Aug 18, 2023 · 1 comment

Comments

@nabeel99
Copy link

Not sure if its a bug in my usage of jlrs or what, but if you monitor memory usage on the mac it goes up to some crazy number like 80gb and there have been instances where my macbook has restarted due to it running out of memory ? is there a common fallacy causing it something i am doing wrong ? am just using the sync r-t to call into some julia code.

@Taaitaaiger
Copy link
Owner

Data rooted in a frame remains rooted until you leave the scope that roots it and that will prevent the GC from freeing it. If you run into OOM errors, I expect you keep a single scope alive and use its frame to root all data.

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