Below are the methods I have tried and the error messages. Please assist in providing a solution or an example.
Describe the bug:
- Error: [Exception] Error fill report: Error fill internal: java.lang.OutOfMemoryError: Java heap space
- According to this issue, I've set the configuration settings as follows:
pyreportjasper = PyReportJasper()
pyreportjasper.config(
input_file,
output_file,
jvm_maxmem="1024M",
db_connection=db_connection,
output_formats=output_formats,
parameters={
"start_dt": start_dt,
"end_dt": end_dt,
},
locale='zh_TW',
)
pyreportjasper.process_report()
- New Error: Exception: config() got an unexpected keyword argument 'jvm_maxmem'
Desktop (please complete the following information):
OS: Linux
Python version: 3.8
Library version: 2.1.4
Java version: 11.0.19
JVM: OpenJDK 64-Bit Server VM