Can I also increase workers to somehow increase the performance or concurrency of reports being generated?
vikky-noelle
@vikky-noelle
Posts made by vikky-noelle
-
RE: JsReport slowing down on cloud
-
RE: JsReport slowing down on cloud
I am using AWS instance. It is a t2.medium dedicated to the server but js Report is running on docker using ECS service. The ECS service restricts it to 1024MBs of ram memory. I am not sure about the memory usage but it crashes with less memory.
-
JsReport slowing down on cloud
Hey, I have a free version of JSreport deployed we have made changes in the template, and the jsReport server crashed. I increased the memory to 1024MBs and the server is very slow compared to the instance running in our dev environment.
Any idea as to why this happens? Or how can I make jsReport faster, does having multiple templates make it slower in general? (I hope not because we are thinking of having all templates in one instance of jsReport)
-
RE: How to hide specific column in excel using js-report
How will I remove an entire column as well?
-
RE: How to hide specific column in excel using js-report
I tried this on my end and it does not work properly. Does this work on excel that I am making?
{{xlsxRemove "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row" 0}} {{#xlsxAdd "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row"}} <row> <c t="inlineStr"><is><t>I should have no style</t></is></c> <c t="inlineStr"><is><t>I should have no style</t></is></c> </row> {{/xlsxAdd}} {{#xlsxAdd "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row"}} <row> <c t="inlineStr"><is><t>I should be red</t></is></c> <c t="inlineStr"><is><t>I should be red</t></is></c> </row> {{/xlsxAdd}} {{xlsxRemove "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row[0].c" 0}} {{{xlsxPrint}}}
This does not work. It removes the last cell and not the one at the 0th index.
-
RE: How to hide specific column in excel using js-report
Can you create a new playground or post the code here?
-
How to remove a specific column from xlsx report?
Hey, I am working with xlsx recipe, and I was wondering how I can remove a specific column from the excel sheet?
-
JSReport, worker out of heap memory
I have a server deployed on AWS with a RAM of 1GB, it is dockerized and was running fine until recently where I started getting the error.
Worker terminated due to reaching memory limit: JS heap out of memory Error [WORKER_CRASHED]: Worker terminated due to reaching memory limit: JS heap out of memory at new NodeError (node:internal/errors:371:5) at Worker.[kOnExit] (node:internal/worker:276:26) at Worker.<computed>.onexit (node:internal/worker:198:20)
I tried increasing the
NODE_OPTIONS=--max-old-space-size=6096
but nothing changed, it even crashes the whole instance of js report and the server gives 503 error, I looked at the documentation but the template I am using is not huge at all.Any help is appreciated!
-
Giving templates and all the associated files (made in admin) access to a created user?
Hey, I have created a new user, now I wish to access the templates I have created from the admin user. Is there a way to do that? I don't wish to manually give permission to every file being consumed by a template ofcourse.
-
Is it possible to map different templates to urls?
I wish to map templates to urls, for example:
www.example.com/api/generate/invoice
serves templates from the invoice folder.
www.example.com/api/generate/summary
serves templates from the summary folder.