on 08-04-2022 8:55 PM
out-of-memory-error-logs.txtHi Expert,
I developed an application using SAP CAP and deployed it to SAP BTP. I implemented an "unbound action" API, it worked well with CDS 5.4.5, but it raised an out-of-memory runtime error when a user called this API after I upgraded CDS to version 5.9.5 or 6.0.4. I cannot roll back CDS to version 5.4.5 as it doesn't support "Hana-cloud". I'm using the below Node and CDS version:
Nodejs: neither 14.x nor 16.x didn't work
CDS: neither 5.9.5 nor 6.x didn't work
Any suggestion is great appreciated.
I resolved the issue. It seems it's cds.ApplicationService caused the issue. I created a custom class by extending cds.ApplicationService to implement the action handler. I re-implemented this handler with function, it resolved the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.