Open
Description
- Is it an error or a hang or a crash?
Out of memory. RAM usage. - What error(s) you are seeing?
This output is visible after ~20 http rest api calls to the server and each request accesses database via oracledb.
rss: " 1158.07 MB"
heapTotal: " 65.07 MB"
heapUsed: " 42.65 MB"
external: " 1.34 MB"
- Include a runnable Node.js script that shows the problem.
I am closing all the connections and triggering garbage collector manually.
oracledb is used to call stored procedures and functions with object binds. I am usingconnection.getDbObjectClass()
for the binds and I suspect this could be the cause of the memory issues. It seems that all the issues have started after upgrading to this approach. - Run node and show the output of:
> process.platform
'linux'
> process.version
'v12.14.0'
> process.arch
'x64'
> require('oracledb').versionString
'4.1.0'
> require('oracledb').oracleClientVersionString
'18.3.0.0.0'
- What is your Oracle Database version?
12c
Here is the backstory, how I have come to a conclusion that this is oracledb related issue nodejs/help#2393