Run my optaplanner project and got following output. Seems there are two issues. What do these output mean? The first is
Score calculation speed will be too low because move thread ({})'s destroy wasn't processed soon enough.
and the other one is
ERROR 603112 --- [pool-1-thread-3] o.o.core.impl.solver.thread.ThreadUtils : Multithreaded Local Search's ExecutorService didn't terminate within timeout (1 seconds).
the output that contains the errors is here.
the application.properties is copied from somewhere, don't understand it much. the file is like this:
spring.datasource.url=jdbc:h2:mem:fedb;DB_CLOSE_DELAY=-1
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
logging.level.root=INFO
logging.level.org.springframework=INFO
logging.level.org.drools=INFO
logging.level.org.optaplanner.core=INFO
optaplanner.solver.termination.spent-limit=2s
optaplanner.solver.move-thread-count=10
optaplanner.solver.environment-mode=NON_REPRODUCIBLE
spring.servlet.multipart.max-file-size=500MB
spring.servlet.multipart.max-request-size=500MB
server.port=8090
To answer Geoffrey's questions: Using Java 1.8.0_241, OptaPlanner optaplanner-bom 7.59.0.Final. The terminate time is set to 2 seconds, the app exits on time with a working solution. The error output can be reproduced all the time yesterday, but no error at all today, no code change. Really strange. Today's output is here. I think I should delete the post.