Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Even with 5000 records during pdf generation the cpu usage hits 100%.
we are trying to use snappy package but it could error below
Could not find a matching version of package koolreport/export-snappy. Check the package spelling, your version constraint and that the package
is available in a stability which matches your minimum-stability (stable).
When I use CloudExport, PDF generation takes around 10 to 12 minutes even for just 50 sample records. below is my codde
$settings = [
// 'useLocalTempFolder' => true,
"pageWaiting" => "networkidle2", //load, domcontentloaded, networkidle0, networkidle2
"viewPath" => base_path("app/Reports/Jasper"), ];
$pdfOption =[
"format" => "A4",
"orientation" => "portrait"
];
$reportData->run(); $reportData->cloudExport("HimesReportLarge") ->chromeHeadlessio("token") ->settings($settings) ->pdf($pdfOption) ->toBrowser("MyReport.pdf");
Hi Team,
When I use the local export method, the CPU usage spikes to 100% for large datasets. After switching to cloud export, the CPU usage is significantly lower. However, for large volumes like 50,000 records, cloud export fails due to a timeout error after 30 to 60 seconds. We need a solution that allows us to download large records efficiently with minimal CPU usage.
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo