0

JetReport Version 10 Memory Usage

I have been using the new JetReports version 10 for a while on my development PC, while the reporting server was still running the version 9. Last Friday, I upgraded the version 9 to the new one, and since Monday, I have been having problems with 2 of my reports, which were working fine with the old version.
Normally, they took about 10 minutes to run, and now it runs for more than an hour and stops with "out of memory" error message (it's using more than 1 gigabyte of memory).
I know the report is a big one:

column B: shows salesperson names that sell lens (44 names)
NL("rows","salesperson commission","salesperson name","item commission","lens","end date","''")
column C: shows salesperson codes under each salesperson name on column 1 (94 salesperson codes)
NL("rows","salesperson commission","salesperson code","item commission","lens","end date","''","salesperson name,B2)
column D: shows customer names on the sales summary table with salesperson code from col 2
NL("rows","sales summary","customer no.","salesperson code",C2,"posting date",np("datefilter","01/01/10","05/31/11"))
- the datefilter is dynamic based on jan 1 last year and last working day, since I have to get the sales comparison from last year (this will give me almost 3500 combinations of salesrep and customer)
column E to I: total net sales (Sales - Returns) for each combination of salesrep and customer, for the last 5 days
For the daily net sales, I use sales invoice line and sales cr.memo line to get the amount
column J: total net sales (Sales - Returns) for the last week
column K: total net sales (Sales - Returns) for the Month to Date
column L: total net sales (Sales - Returns) for the Last Year Month to Date
column M: total net sales (Sales - Returns) for the Last Year Month to Date
column N to Y: total net sales (Sales - Returns) for the Last 12 month
For the monthly net sales I use the sales summary table which has monthly values for sales and returns

Question: Does the version 10 uses more memory? If that is the case, I probably have to switch back to version 9.

6 comments

Please sign in to leave a comment.