-
-
Notifications
You must be signed in to change notification settings - Fork 93
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 leaks to 32gb within 10 seconds #646
Comments
Dragging two simple files (eg files that have only Do you have the memory limit turned on (in the "Racket" menu, the "Limit Memory..." menu item)? If not, it may be that expanded the contents of the files uses an unbounded amount of memory (or maybe just a lot of memory). |
I have a (Default?) limit of 128mb. Additionally, having the files open by their own (or having them both as tabs but never switching to the other) does not increase the memory usage abnormally - only when tabbing between the two. File 1:
File 2:
|
I can't reproduce the problem as well. Observation: in your screenshot, you have a comment box, which is not preserved when copying over as text. Still, even after adding a comment box to the programs manually, I can't reproduce the issue. |
It is possible to attach actual files here; that may matter. I'm not on sonoma yet, so it might be an interaction between that and something in one of the GUI libraries. If it isn't either of those, then starting from the command-line and hitting control-c in the Terminal window while it is very busy may give us some information. Specifically, if you open a Terminal window and do this:
and then open the files in DrRacket as usual, and then make it start going crazy and then hit control-c back in the terminal window, if we're lucky you'll get a stacktrace that'll point to the misbehaving code and maybe we'll then be able to figure out what's going on. |
What version of Racket are you using?
version 8.9 [cs].
What program did you run?
Dragged two .rkt files into DrRacket, one by one, then switch between the tabs.
What should have happened?
Should be able to tab in-between the two .rkt files without memory usage instantly start rising by about 2gb/second.
If you got an error message, please include it here.
Please include any other relevant details
PC: M1 Mac
OS: Sonoma 14.0
The text was updated successfully, but these errors were encountered: