Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Heap Space Error and Unexpected Keyword Argument in PyReportJasper #167

Open
rizchen opened this issue May 20, 2024 · 0 comments
Open

Comments

@rizchen
Copy link

rizchen commented May 20, 2024

Below are the methods I have tried and the error messages. Please assist in providing a solution or an example.

Describe the bug:

  1. Error: [Exception] Error fill report: Error fill internal: java.lang.OutOfMemoryError: Java heap space
  2. 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()
  3. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant