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

out of control memory use on rhombus/private/string.rkt #613

Open
samth opened this issue Apr 20, 2023 · 6 comments
Open

out of control memory use on rhombus/private/string.rkt #613

samth opened this issue Apr 20, 2023 · 6 comments

Comments

@samth
Copy link
Member

samth commented Apr 20, 2023

If I open rhombus/private/string.rkt from the rhombus-prototype repository, DrRacket quickly completes background expansion but memory use (as reported in the bottom corner) continues growing without bound (eg from 800MB to 8GB in a couple minutes). Nothing appears to be happening while this memory usage growth happens, and it hasn't happened with other Rhombus programs that I've noticed.

@samth samth changed the title out of control memory use on rhombus/private/string.rhm out of control memory use on rhombus/private/string.rkt Apr 20, 2023
@rfindler
Copy link
Member

I see memory use climb but then drop back down again.

@samth
Copy link
Member Author

samth commented Apr 20, 2023

How high does it climb? For me I have to close the tab or eventually close DrRacket.

@rfindler
Copy link
Member

Not very high! Maybe 20mb before dropping back down?

@samth
Copy link
Member Author

samth commented Apr 20, 2023

Right, for me it grows by gigabytes. I wonder if I have some different configuration that might be at issue?

@rfindler
Copy link
Member

The language settings can affect online expansion. It might not actually be related to online expansion, tho.

Can you get a stack trace? Perhaps control-c in the terminal window where drr is started?

@samth
Copy link
Member Author

samth commented Apr 20, 2023

I think I had another file that used Rhombus open, and a change in private/string.rkt (relative to the zo version). I'm working on getting more precise reproduction instructions.

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