Current filter:
                                You should refresh the page.
                                  • Hi,

                                    we have a serious problema with memory leak in our application when we run in google crhome.
                                    Our front end was created using the angular and the backend we are using the .net core.
                                    We are using the web reporting designer and viewer.

                                    To prove the problem, we created a video and a test application using the angular, .net core and the "devexpress-reporting-angular" package: "18.2.8".
                                    According to video, notice that in each menu call "Devex-Designer" the memory is not being released completely even after the garbage collector is running.

                                    To simulate the problem, just run the backEnd at the address: http: // localhost: 7017 and the backEnd at the address: http: // localhost: 4200

                                    Thanks

                                • Luiz Bilhalva 07.09.2019

                                  Video about the memory leak.

                                • Vasily (DevExpress Support) 07.10.2019

                                  Hi Luiz,

                                  Thank you for pointing out to this issue. We were able to replicate this behavior on our side. However, we need some additional time to research this behavior on our side. We will update this thread once we make any progress on this research. Please bear with us.

                                • Luiz Bilhalva 07.23.2019

                                  Hi,

                                  we are having trouble with this situation.
                                  Do you have any predictions?

                                  Thanks

                                • Vasily (DevExpress Support) 07.26.2019

                                  Hi Luiz,

                                  Please accept my apologies for the delayed response. We found what might cause this memory leak problem, and now we are testing our fix to be 100% sure that our fix does not break the existing functionality of our Web Report Designer. Also we are checking whether it is possible to apply this fix to an older version of our components that you are currently using. We will let you know once we have any results.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed:


                                Additional information:

                                Due to the complexity of this fix, it was applied only to the latest major versions of our suite. So, to reduce the memory consumption, we recommend you upgrade your application to version 19.1 (with this fix applied). Let us know if this fix works for you.

                                Show all comments
                                • Luiz Bilhalva 07.29.2019

                                  Thanks Vasily,
                                  this package doens't exists npm yet.
                                  <PackageReference Include="DevExpress.AspNetCore.Reporting" Version="19.1.5" />
                                  Severity Code Description Project File Line Suppression State
                                  Error NU1102 Unable to find package DevExpress.AspNetCore.Reporting with version (>= 19.1.5) 

                                • Luiz Bilhalva 07.29.2019

                                  npm:

                                • Vasily (DevExpress Support) 07.29.2019

                                  Hi Luiz,

                                  Note that the hotfixes that we provide are just nightly builds of our components. To get it from npm use the "19.1-next" or "19.1-unstable" version. As for NuGet, we do not publish nightly builds on our NuGet server. So, you have to install the "hotfix" installation that you can request by clicking a link provided in my answer above.

                                  In any case, as this fix was related to the client-side part of our controls you can try using the "19.1-next" in Angular, and 19.1.4 on the server.

                                • Luiz Bilhalva 08.01.2019

                                  Hi,

                                  I'm testing this solution, but doesn't work for me.
                                  when I execute the command "npm start" in my angular project, happened a erro below:

                                  ERROR in node_modules/knockout/build/types/knockout.d.ts(17,21): error TS1005: ';' expected.
                                  node_modules/knockout/build/types/knockout.d.ts(17,41): error TS1005: ';' expected.
                                  node_modules/knockout/build/types/knockout.d.ts(17,44): error TS1109: Expression expected.

                                  I attach this example.

                                  Thanks.

                                • Vasily (DevExpress Support) 08.01.2019

                                  Hi Luiz,
                                   
                                  I see that this issue is thrown from Knockout module so it is not directly related to our components. In any case, starting with version 19.1 we use Knockout package version 3.5 (check BC4986 breaking change for more information), and it looks like this new version of the package cannot be compiled by the version of typescript compiler used by your project. So, you can resolve this issue by upgrading the typescript package. For example, try version "^2.8.8".
                                   
                                  Also I would like to mention that starting with version 19.1, you need to register "devextreme" and "@devexpress/analytics-core" packages manually in your application (check BC5077 breaking change for more information). So, you need to have the following dependencies:

                                  [JavaScript]
                                  "devexpress\-reporting\-angular": "~19.1.5", "devextreme": "~19.1.5", "@devexpress/analytics-core": "~19.1.5",

                                  Take a special note that version 19.1.5 was just released, so you can now use it instead of using a nightly build.

                                • Luiz Bilhalva 08.02.2019

                                  Thanks Vasily,
                                  The memory leak was resolved.

                                  But, i found a new break changes in this 19.1.5 version.
                                  The variable "DevExpress":
                                  import DevExpress from '@devexpress/analytics-core';

                                  doen't have the object "Report" according below:
                                  DevExpress.Report.Preview.AsyncExportApproach = true;"

                                  Thanks.

                                  import { Component, ViewEncapsulation } from '@angular/core';
                                  import { Input } from '@angular/core';

                                  import DevExpress from '@devexpress/analytics-core';
                                  //import { Report } from "devexpress-reporting/dx-webdocumentviewer";

                                  @Component({
                                  selector: 'app-reports-viewer-devex',
                                  templateUrl: './reports-viewer.devex.component.html',
                                  encapsulation: ViewEncapsulation.None,
                                  styleUrls: [
                                  '../../../node_modules/jquery-ui/themes/base/all.css',
                                  '../../../node_modules/devextreme/dist/css/dx.common.css',
                                  '../../../node_modules/devextreme/dist/css/dx.light.css',
                                  '../../../node_modules/@devexpress/analytics-core/dist/css/dx-analytics.common.css',
                                  '../../../node_modules/@devexpress/analytics-core/dist/css/dx-analytics.light.css',
                                  '../../../node_modules/devexpress-reporting/dist/css/dx-webdocumentviewer.css'
                                  ]
                                  })
                                  export class ReportsViewerDevexComponent {
                                  reportUrl = 'reportTeste|preview';
                                  hostUrl = 'http://localhost:7017';
                                  invokeAction = '/DXXRDV';

                                  constructor() {
                                  DevExpress.Report.Preview.AsyncExportApproach = true;
                                  }

                                  CustomizeElements(event) {
                                  if (event) {
                                  }
                                  }

                                  OnServerError(event) {
                                  //if (event) {
                                  //DevExpress.ui.notify({ message: 'Duplicate report name is not allowed', type: 'error' })
                                  //}
                                  }
                                  }

                                • Vasily (DevExpress Support) 08.02.2019

                                  Hi Luiz,

                                  Thank you for your update. I am happy to hear that our update resolved the memory leak issue.

                                  As for your new issue, I've extracted it to a separate ticket on your behalf to avoid discussing multiple topics in this thread: T803707: The variable "DevExpress" from : @devexpress/analytics-core library does not have the object "Report" after upgrade to 19.1. This new ticket has been placed in our processing queue and will be answered shortly.