Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Serosthen00b
Contributor II
Contributor II

Read Fields over Engin API

Hello everyone

I built a Node backend with Enigmajs to get some information from our Qlik system.

This is working so far.

I started reading the measurements and this is working great.

Now I have expanded my script so that I can get the fields, and since then my node has been running out of RAM on Server because it loads the app into the cache and the cache timer is currently set to 3 hours, With over 100 apps that I read, the RAM is full at some point

Does anyone know why it doesn't keep the app loaded into the cache for the measurements but loads it into the server cache for the fields?

The information is retrieved using the same principle in both cases

createSessionObject https://qlik.dev/apis/json-rpc/qix/doc/#createsessionobject
and
getLayout https://qlik.dev/apis/json-rpc/qix/genericobject/#getlayout

And the app is closed again regularly with session.close();

Does anyone have experience with this?
Maybe had the same problem?
Is there another way to clear the server cache?

Labels (2)
1 Solution

Accepted Solutions
Serosthen00b
Contributor II
Contributor II
Author

I built a fun workout around.
Closed

View solution in original post

2 Replies
Serosthen00b
Contributor II
Contributor II
Author

I've tried 2 variants but I'm still running into the same problem that the app is loaded into the server cache and we've currently set a 3h engine cache timer. And over 115 apps are being read out.

The 2 ways I tried were the GetFileTableFields method and the "FieldList", but both ways gave the same result.

Does anyone have any input?

Serosthen00b
Contributor II
Contributor II
Author

I built a fun workout around.
Closed