Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
var Stimulsoft = require('stimulsoft-reports-js');
var report = new Stimulsoft.Report.StiReport();
report.loadFile("Over-2.000-pages.mrt");
report.reportCacheMode = Stimulsoft.Report.StiReportCacheMode.On;
Stimulsoft.StiOptions.Engine.ReportCache.amountOfQuickAccessPages = 50; // default 50
report.renderAsync(() => {
console.log("Pages: ", report.renderedPages.count);
report.saveDocumentFile("Over-2.000-pages.mdc");
report.dispose();
});Setting reportCacheMode = On streams rendered pages to a cache instead of keeping them all in memory; amountOfQuickAccessPages controls how many stay readily available. Calling dispose() afterwards frees the resources — important for long-running Node.js services.