Appfarm Service Error: Isolate was disposed during execution due to memory limit

Hello,
I created an Appfarm Service a long time ago, and it used to work nice, but now that the amount of data that it has to work with has increased, I keep getting this error. Could you give more memory to our services so they work?

{
“error”: {
“name”: “FunctionEvalError”,
“code”: 16002,
“statusCode”: 500,
“message”: “Error: Isolate was disposed during execution due to memory limit”
}
}

Hi!

This means you are using more than 128MB memory for running that service function, which is a lot. Giving more memory would only cause the problem to arise down the road again I believe? What is the function doing, and could is maybe be optimized to handle less data?

Would be great with some more info on that service. There is a function inside it that is causing this. Could be on data source level or on action node level.

Hi!
The function reads a lot of data from a lot of different data sources to aggregate it, which I suppose a server should be able to handle… So I think that if you could just bump up the memory that would be the most time efficient solution for both of us, since we are not expecting higher volumes of data than that, we are migrating the customers out of it.

Regarding the service info, if you need it to bump up the memory, we are the solution Morescope → SRT Hierarchy Service → Both the /export and /subsidiary-data endpoints experience the same problem.