Hi,
We're in the process of upgrading from 2020.06 to 2023.03-LTS. For Production, we run a load-balanced environment with two application (virtual) servers, each with their own database (virtual) server. I'm currently running a test in our Production environment to compare the two versions. Specifically for the application servers, here is our current application deployment details:
Node 1:
Tomcat 8.5
Java 11
Servoy 2020.06
Basic_Servoy_JasperReports_Plugin_v.6.12.2_2020.03
Node 2:
Tomcat 8.5
Java 17
Servoy 2023.03-LTS
Basic_Servoy_JasperReports_Plugin_v.2022.3_6.19.1
But the same application code (Servoy forms, Jasper Report .jrxml's and Java based business logic code) is currently being run on these two nodes. A difference would be the Java code on 2023.03-LTS is compiled against Java 17.
We've noticed a significant increase in RAM required to run the 2023.03-LTS version of Servoy and we're wondering if anyone else has noticed the same?
After deployment of a .war file, which occurs in the evening when we have maybe one or two users online, we always restart Tomcat. After the Tomcat restart, the 2023.03-LTS server is immediately using way more memory than 2020.06, with no clients connected.
Once the workday begins, the 2020.06 server memory usage climbs steadily and will gain around 8% over the workday, with no risk of memory troubles. 2023.03-LTS will climb quickly and drop quickly, with an overall climb that sometimes reaches 98% of the virtual server's total memory. Now, we've not yet had an outage due to memory issues, as the GC appears to be keeping things in check (somewhat), but when approaching the high 90's, I think we're asking for trouble. Of course we can always throw more memory at it, but I'd like to hear what others have to say. More RAM = more $ and it looks like our costs will increase substantially.
Above, I've mentioned the use of Jasper Reports here as well, since we've also noticed the generation of a Jasper Report PDF from within the 2023.03-LTS application appears to use a lot more memory than in 2020.06. Generating a single PDF can make the MEM% (as viewed in htop on our Linux server) jump 0.5 to 5% on the 2023.03-LTS application. Eventually some of that memory is reclaimed, but I get the sense that if too many users try to generate a PDF around the same time our RAM usage % is in the 90's, we're risking an outage.
By comparison, we rarely see any jump in memory on 2020.06 when generating the same report (exact same .jrxml files). If there is a change, it is 0.1%
Hoping some of you can share what you've experienced with both the upgrade to the newer versions of Servoy and also with Jasper Reports.
Thanks.
Darren