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

'.'.IO.watch; loop {1+1}; #eats all the memory #4888

Closed
p6rt opened this issue Dec 18, 2015 · 5 comments
Closed

'.'.IO.watch; loop {1+1}; #eats all the memory #4888

p6rt opened this issue Dec 18, 2015 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 18, 2015

Migrated from rt.perl.org#126956 (status was 'resolved')

Searchable as RT126956$

@p6rt
Copy link
Author

p6rt commented Dec 18, 2015

From xaduha@gmail.com

Tested on linux with rakudo-star-2015.11, both MoarVM and JVM. On JVM it fails eventually with

Method 'watch' not found for invocant of class 'IO​::Path'

@p6rt
Copy link
Author

p6rt commented Dec 18, 2015

From xaduha@gmail.com

http://doc.perl6.org/type/IO​::Path#method_watch

says​:

Only implemented in Rakudo with the MoarVM backend at the moment.

My bad, JVM is off the hook.

@p6rt
Copy link
Author

p6rt commented Apr 2, 2016

From @timo

On Fri Dec 18 01​:19​:18 2015, xaduha@​gmail.com wrote​:

Tested on linux with rakudo-star-2015.11, both MoarVM and JVM. On JVM
it fails eventually with

Method 'watch' not found for invocant of class 'IO​::Path'

The problem that's causing the leak is we're marking lots of things to "be freed at a safe point" (mostly frames apparently) but we never reach any safepoint, so the "to be freed" things as well as the list of things to free at the safepoint end up consuming more and more memory.

@p6rt
Copy link
Author

p6rt commented Apr 2, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 5, 2016

xaduha@gmail.com - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Oct 5, 2016
@p6rt p6rt added the perf label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant