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

Suggestion: More RAM with 64bit #5

Open
lars18th opened this issue Oct 3, 2020 · 2 comments
Open

Suggestion: More RAM with 64bit #5

lars18th opened this issue Oct 3, 2020 · 2 comments

Comments

@lars18th
Copy link

lars18th commented Oct 3, 2020

Hi,

I'm using DVB Inspector for some time. As I'm running it in a 64bit Windows for 8GB of RAM, I replace the -Xmx1000m inside the dvb.bat file with this: -Xmx4g -Xms4g. Then the program run more fast and I can open larger files.

So, please consider if you want to add a new dvb-64bit.bat file, or provide a method to reconfigure the Java memory.

I hope this helps!
Regards.

@EricBerendsen
Copy link
Owner

Thank you for your feedback.

Sadly there is no one-size-fits-all solution. For some systems 1000 MB might be optimal (it was for me when I put it in, back in 2012), for others 4 GB might be less than the default java will assign without -Xmx flags.

Configuring java memory can only be done before the JVM starts, so it has to be in the dvb.bat file. A setting in the program itself will not work.

I think I should remove the -Xmx1000m from the .bat file (as it probably does not fit most uses), and just use the java default. Also the .sh file has no memory setting, so that makes it more consistent. When needed the user can add his/her own preferred values for memory size.

@lars18th
Copy link
Author

lars18th commented Oct 4, 2020

When needed the user can add his/her own preferred values for memory size.

Then you need to document it almost. Or provide a CONSTANT value in scripts (.sh and .bat) to configure/change the default value.

Regards.

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