Memory Increasing when export excel

Hey there,

Using Jmix version: 2.3.4

When I perform export data into excel for 20 reports with 5000 lines for each report. I noticed there is a memory usage increase (view from K8s Dashboards) which normal. When I monitor for 30 mins after completed export all the reports, the memory usage not decreasing and stagnant and there is no spike. Below I share the screenshot as your references.

  1. start to export reports using excel (action)
    image

  2. 30 mins after end exporting all the reports.
    image

Am I missing any configurations for make the memory decrease after perform export all my reports into excel?

  • In my code, I’m using standard action to export into excel from DataGrid provided by Jmix. Below I share the screenshot
    image

Hi, Amir! Could you reproduce your problem on the “clean” project? If the problem is reprodused on the sample project, could you send us this project?

1 Like

Hi, sorry for the late reply! I’ve attached a clean sample project that reproduces the issue, using the same database configuration as my main project.

Hi, Amir! Thanks a lot! Could you provide a JRE version that you use?

Amir, your application contains about a hundred entities and five DataStore objects that are connected to the AWS database. Are you sure that it is a simplified sample project? Please could you provide us with the following things:

  • a project with a minimal amount of entities and screens and without any connections to the cloud services;
  • your JRE version (including minor and micro version and vendor information);
  • sample data if it is necessary;
  • correct test case for the problem rerpoducing.

The project should be able to be executed without changing any settings (may be except pointing out a JRE path).

Thanks in advance.

Hello,

How is your garbage collection set?

Kind regards,
Mladen

1 Like