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

Optimizer runs out of memory on certain conditions #2066

Open
GabLast opened this issue May 4, 2024 · 11 comments
Open

Optimizer runs out of memory on certain conditions #2066

GabLast opened this issue May 4, 2024 · 11 comments

Comments

@GabLast
Copy link

GabLast commented May 4, 2024

Error:
image

Team:
image
image
image
image
image

Optimization target: Alhaitham

{"name":"Alhaitham Spread QE N2D 2N3D 3N2C","targets":[{"weight":2,"path":["burst","instanceDmg"],"hitMode":"avgHit","bonusStats":{}},{"weight":2,"path":["burst","instanceDmg"],"hitMode":"avgHit","reaction":"spread","bonusStats":{}},{"weight":3,"path":["charged","dmg"],"hitMode":"avgHit","bonusStats":{}},{"weight":1,"path":["charged","dmg"],"hitMode":"avgHit","reaction":"spread","bonusStats":{}},{"weight":8,"path":["skill","mirrorDmg1"],"hitMode":"avgHit","bonusStats":{}},{"weight":9,"path":["skill","mirrorDmg1"],"hitMode":"avgHit","reaction":"spread","bonusStats":{}},{"weight":1,"path":["skill","rushDmg"],"hitMode":"avgHit","reaction":"spread","bonusStats":{}},{"weight":5,"path":["normal","0"],"hitMode":"avgHit","reaction":"spread","bonusStats":{}},{"weight":1,"path":["normal","0"],"hitMode":"avgHit","bonusStats":{}},{"weight":6,"path":["normal","1"],"hitMode":"avgHit","bonusStats":{}},{"weight":2,"path":["normal","2"],"hitMode":"avgHit","bonusStats":{}}]}

Build Constraint:
130-135 Energy Recharge

The build was done fine when i set the energy reqs to 120

@GabLast
Copy link
Author

GabLast commented May 4, 2024

My Database:
edit: deleting raw json for the txt:

Database_1_2024-05-04_19-37-01.json

@frzyc
Copy link
Owner

frzyc commented May 4, 2024

@GabLast Can you download your Json file and upload it?
Can you also provide more detailed reproduction steps?

@nguyentvan7
Copy link
Collaborator

The json is in the message
They also provided repro steps, optimize alhaitham with 130-135 ER and crash
120 ER doesn't crash according to them

@frzyc
Copy link
Owner

frzyc commented May 4, 2024

yeah the JSON is indeed in the message, but
image

@nguyentvan7
Copy link
Collaborator

nguyentvan7 commented May 4, 2024

jsonformatter.txt
Text was too long for the text box on the DB page

@GabLast
Copy link
Author

GabLast commented May 4, 2024

yeah the JSON is indeed in the message, but image

Database_1_2024-05-04_19-37-01.json

The steps to trigger the error is just optimize for alhaitham with the target pasted in the main comment, and add an energy recharge constraint of 130 or so. it crashed when i put 125-135 ER

@frzyc
Copy link
Owner

frzyc commented May 4, 2024

image
I was unable to reproduce, is there anything else I can do to reproduce the issue?

@GabLast
Copy link
Author

GabLast commented May 4, 2024

Don't really know what else to do. The only difference I see is the # of threads. Here's my POV in a video:
https://streamable.com/9nw3lt

@nguyentvan7
Copy link
Collaborator

Status access violation is memory based error
How much RAM do you have?

Also, you can filter the main stats to atk,em + dendro + critr,critd main stats, probably will help prevent crashes

Side note, you haven't enabled any set effect conditionals, such as 4p gilded dreams (not sure if you farmed it or not)

@GabLast
Copy link
Author

GabLast commented May 5, 2024

Update: It does not crash when using 12 Threads.

I have 32 GB of RAM.

@nguyentvan7
Copy link
Collaborator

Possibly related: #1908

@frzyc frzyc changed the title Optimizer Crashes on certain conditions Optimizer Runs out of memory on certain conditions May 5, 2024
@frzyc frzyc changed the title Optimizer Runs out of memory on certain conditions Optimizer runs out of memory on certain conditions May 5, 2024
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

3 participants