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

Long-term bug #119

Open
slaymaker1907 opened this issue Jul 20, 2015 · 1 comment
Open

Long-term bug #119

slaymaker1907 opened this issue Jul 20, 2015 · 1 comment

Comments

@slaymaker1907
Copy link
Contributor

I've been doing some experiments that require running thousands of simulations over periods of hours and after it's been running for a number of hours, it seems to stop simulating and only throws a bunch of exceptions.

I'm going to go and do some further testing and see if I can replicate the issue with a compiled jar outside of Eclipse as well as with a few different virtual machine arguments over the next few days to see if I can root out the main cause. What is strange is that it's not printing out a full stack trace, just the first line, and the simulation code I'm running is in a try/catch block so I don't think it's printing from my simulation code.

@oyachai
Copy link
Owner

oyachai commented Jul 24, 2015

I've successfully run simulations with up to 50,000 games, though these were with fixed decks with relatively simple cards. As it stands, I know there are issues with some cards (Shadowboxer comes to mind) that have issues, as well as some cards (e.g., Knife Juggler) that tends create so many branches that memory becomes an issue. Shadowboxer has this nasty tendency to get itself in deep recursion, and I'm still trying to understand and fix that.

My primary suspicion is that you are running out of memory due to some combination of cards/actions creating many search branches. I'd be interested to see what you can find through your trials.

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