I have a springboot application that connects to a standalone instance of neo4j. The springboot application runs as a container in a kubernetes cluster and neo4j is deployed in a virtual machine. Our application needs to run on multiple databases in neo4j. As a part of performance testing we are creating around 10 databases. Once testing is done, we delete the databases created( By running "DROP DATABASE ). Even after deleting database we are seeing a huge performance degradation for the application.
Only after a VM restart performance comes back to normal. Is this expected behavior? Is there any configuration available to reclaim memory that is used by deleted databases?
Neo4J version 4.0 MR2