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

maxMemory doesn't work as commandline argument or as startup.json parameter #16418

Open
vikram-jadhav opened this issue Sep 12, 2024 · 0 comments
Labels

Comments

@vikram-jadhav
Copy link

vikram-jadhav commented Sep 12, 2024

Describe the bug
The code indicates that it processes either --maxMemory or --max-memory as a command line argument. Also, there's some evidence that maxMemory is also parsed from startup.json. However, none of these options works, and the app crashes when I use 4k texture packs for rdr2 and click deploy mods with error memory usage growing fast {"usage":"3.74 GB","previous":"3.63 GB","max":"4.00 GB"}
2024-09-12T14:20:40.860Z [ERROR] render process gone {"exitCode":134,"reason":"crashed"}.

To Reproduce
Steps to reproduce the behavior:

  1. install AIO Megapacks for RDR2 using Vortex
  2. In shortcut to Vortex.exe pass command line args --max-memory 8192 --maxMemory 8192
  3. For added measure, also add "maxMemory":"8192" pair to startup.json found in C:\Users<username>\AppData\Roaming\Vortex
  4. deploy mods and wait. The app will keep crashing, saying it's using too much memory (vortex.log) , e.g. >= 4GB

Expected behavior
The user should be able to set the maximum memory to avoid the crash above.

Platform (please complete the following information):

  • OS: Windows 11
  • Vortex Version 1.12.4
@IDCs IDCs added the bug 🐛 label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants