The project use JavaFx with Java 8.
It comes with hibernate + jpa + persistence + H2.
I identified that most of memory usage in our application comes from H2 database.
The project dont need a full database, only need a cache system to handle few objects.
You need to remove H2 and add a cache system.