Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
I built a fun workout around.
Closed
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?
I built a fun workout around.
Closed