Open kolbytn opened 2 years ago
Hmm MineRL is not the most stablest thing ever and occasional crashes are to be expected, but it should not be that common. Have you have checked the memory usage? Sometimes calling reset often causes a memory leak. Getting the error message of the MineRL would help. You can enable better logging by having this in the beginning of your code:
import logging
logging.basicConfig(level=logging.DEBUG)
I'm taking a look at this again. I wasn't able to get any additional logs by changing the logging level to debug. Should those be coming from stdout?
There's definitely a memory leak, but the memory doesn't appear to spike or approach the max memory for the system before crashing. I did however increase my episode length from 500 up to 5000, which appears to have fixed the problem. I can make this work for now.
I don't have good reproduction steps yet, but I get the following error after ~0.5~1 hours of running minerl. This occurs both on my local machine and in the provided docker container. I'm using
minerl.herobraine.env_specs.human_survival_specs.HumanSurvival
. Is this a known issue?