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

Error jaydebeapi.connect #218

Open
ronaldoapsilva opened this issue Jun 18, 2022 · 0 comments
Open

Error jaydebeapi.connect #218

ronaldoapsilva opened this issue Jun 18, 2022 · 0 comments

Comments

@ronaldoapsilva
Copy link

ronaldoapsilva commented Jun 18, 2022

Sometime When I try to connect to db using the block of code below, it crashs the application, How can I handle it without exit the application? Since I am already using try block
try: with jaydebeapi.connect( 'com.ibm.db2.jcc.DB2Driver', connection_string, [conn_prm['UID'], conn_prm['PWD']], jars=DB2JCC4, ) as conn: with conn.cursor() as curs: curs.execute(sql_string) column_names = [column[0] for column in curs.description] results = curs.fetchall() data = [dict(zip(column_names, row)) for row in results] except Exception as err: data = {'STATUS': f'jaydebeapi error = {str(err.args)}'}
I got the error below on terminal

resize LOA size(0) should not be smaller than minimum LOA size(76800). 01:16:35.288 0x1a4600 j9mm.141 * ** ASSERTION FAILED ** at MemoryPoolLargeObjects.cpp:334: ((false)) JVMDUMP039I Processing dump event "traceassert", detail "" at 2022/06/17 22:16:35 - please wait. JVMDUMP032I JVM requested System dump using 'C:\project_path\core.20220617.221635.17216.0001.dmp' in response to an event JVMDUMP010I System dump written to C:\project_path\core.20220617.221635.17216.0001.dmp JVMDUMP032I JVM requested Java dump using 'C:\project_path\javacore.20220617.221635.17216.0002.txt' in response to an event JVMDUMP010I Java dump written to C:\project_path\javacore.20220617.221635.17216.0002.txt JVMDUMP032I JVM requested Snap dump using 'C:\project_path\Snap.20220617.221635.17216.0003.trc' in response to an event JVMDUMP010I Snap dump written to C:\project_path\Snap.20220617.221635.17216.0003.trc JVMDUMP013I Processed dump event "traceassert", detail "".
Also the files below are created on project path
core.20220617.221635.17216.0001.dmp
javacore.20220617.221635.17216.0002.txt
Snap.20220617.221635.17216.0003.trc

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