-
Notifications
You must be signed in to change notification settings - Fork 350
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
Unbounded memory growth installing java
on MacOS Sonoma
#813
Comments
can you post the output of |
Here's the output:
|
can you run |
I can reach that endpoint okay. Also checked on a couple networks. |
just noting that I'm on the public beta of MacOS Sonoma. |
ok, maybe this weekend I'll see if I can upgrade and find out what happens. This is definitely a strange one though. One thing I suppose you could try is installing with |
|
turns out I had multiple versions of |
huh, were you using jdxcode/brew/rtx or rtx? I think they use different ssl methods. |
I believe I was using plain |
the code just calls reqwest::blocking::get. It isn't streaming the response or anything. I can't explain why this happened but since the trace is showing it's connecting ssl and using rustls fixed it—I suspect the issue is in how openssl was linked on your machine |
oh interesting. Happy to provide additional info if it'll help. I use 1Password as the IdentityAgent, could that have been messing up? |
Can this be reopened please? My mac (running sonoma beta) also crashed a few times in the past few days, and suddenly I realized that it always ran out of application memory when I was installing this version of java: I too have installed rtx via homebrew just as |
don't think so, this isn't using ssh, it's https @vraravam try installing with the rustls feature |
thanks for the fast reponse @jdxcode - could you please help how to install with that feature via homebrew? |
you can't |
so, is there no other option or a future version where I don't need to depend on |
@vraravam if you install |
Thanks for the response @nabn .
Any other suggestions please? |
when you uninstall all rtx versions (before installing from the tap with Also, not sure what your |
Update: ruby and python were successfully installed, java is ongoing right now |
does There might be something else going on. I tried the same steps on my machine (uninstalled with Not sure what the issue is.. |
i have could that be a problem? update: removed libressl completely, rebooted, installed openssl via brew, and retried the |
that's because of I'm not very familiar how |
Can reproduce for Ventura 13.4.
Commands have been:
|
It sounds like the java plugin is the problem, try uninstalling it so you use the core plugin:
|
Its surprising that there's a concept of a "core" plugin. I have been using rtx for quite a while now, and i had to always add plugin before trying to install that language. Can this be documented somewhere? Or maybe I missed it? |
it is documented: https://github.com/jdxcode/rtx#core-plugins |
it looks like we may not be the only ones with this issue: https://news.ycombinator.com/item?id=37498979 Seems Sonoma has some networking issues |
I assume this is resolved now since I haven't heard anything new lately |
Describe the bug
Installing java causes the computer to run out of memory.
To Reproduce
run
rtx install java
Expected behavior
Expect rtx to not cause unbounded memory growth and the tool installed.
Installing the same version of java with
asdf
worked okay (I triedasdf install java zulu-11.66.15_1
)rtx doctor
outputAdditional context
Command appears stuck after running. I couldn't find anything related on
trace
level of loggingThe text was updated successfully, but these errors were encountered: