My Reveaal instances took up ~2.5Gb of memory after about 300 queries:
I think it is a result of the caching of Components sent over gRPC, where there (probably) is no upper-limit of the cache. This is based on the memory usage of some of my Reveaal instances remained stable after about 200 tests, so it should not be a leak.
This is a result of using TransitionSystem::get_all_locations.
This will be a problem if a lot of different components are used, and may cause the server to crash.
When running
Reveaal
as a server, it takes up a lot of memory.For example, when I ran the test-framework with the following
configuration.json
My
Reveaal
instances took up ~2.5Gb of memory after about 300 queries:I think it is a result of the caching ofThis is a result of usingComponent
s sent over gRPC, where there (probably) is no upper-limit of the cache. This is based on the memory usage of some of myReveaal
instances remained stable after about 200 tests, so it should not be a leak.TransitionSystem::get_all_locations
.This will be a problem if a lot of different components are used, and may cause the server to crash.