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

[feature] Is it possible to set the running RAM of jadx-gui at a fixed value #2217

Closed
zzzzfeng opened this issue Jul 16, 2024 · 3 comments · Fixed by #2218
Closed

[feature] Is it possible to set the running RAM of jadx-gui at a fixed value #2217

zzzzfeng opened this issue Jul 16, 2024 · 3 comments · Fixed by #2218

Comments

@zzzzfeng
Copy link

Describe your idea

Hi,

When opening a jadx-gui, the running RAM will be select automatically, which is usually influenced by the current RAM left.
If I want the value to be higher(which is enough for the computer), I must close some other software before opening jadx-gui.

So, is it possible to set the running RAM of jadx-gui at a fixed value.

thanks.

@jpstotz
Copy link
Collaborator

jpstotz commented Jul 16, 2024

To my knowledge the maximum heap size for Jadx-Gui should only depend on your system RAM size.

What OS are you on, which Java Runtime do you use and how do you start Jadx-Gui?

@zzzzfeng
Copy link
Author

It's jadx-gui-1.5.0.exe, bundled jre.
Everytime I started it, the maximum heap size is different as shown in the bottom status bar

@jpstotz
Copy link
Collaborator

jpstotz commented Jul 16, 2024

Seems that this is caused by the launch4j configuration. May be it is time to disable them and only use the JVM config that is also used in the jadx-gui launch scripts which is effectively -Xms128M -XX:MaxRAMPercentage=70.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants