-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote page is too large exceptions #10292
Labels
Comments
This problem can be solved through configuration of Trino. Add in
|
In k8s deployment, how to set these properties in the configmap? @findinpath |
something like this in your values @Firstero server:
workers: 64
config:
query:
maxMemory: "100GB"
additionalConfigProperties:
- exchange.max-buffer-size=1GB
- exchange.max-response-size=1GB
- exchange.http-client.max-content-length=1GB |
@noahshpak It works, Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
We’re running into issues with
Remote page is too large exceptions
. This is the stack trace in the admin UI:Doing some quick Google searches and looking at some of the discussions here:
It seems to boil down to a single (or many rows) that is too large. I’ve tried tweaking the exchange parameters such as:
https://trino.io/docs/current/admin/properties-exchange.html#exchange-max-buffer-size and https://trino.io/docs/current/admin/properties-exchange.html#sink-max-buffer-size by increasing these to 2048MB but it doesn’t seem to help at all.
We are calling array_agg functions in our query, and this looks to be related. We are also including OFFSET and LIMIT clauses in our query. Interestingly, if we remove the OFFSET and LIMIT clauses, the query runs fine. Any other suggestions you guys have? Is there an easy way we can identify which row is too large?
Really appreciate all the help.
The text was updated successfully, but these errors were encountered: