am getting this error io.airbyte.commons.temporal...
# replication-ask-ai
a
am getting this error io.airbyte.commons.temporal.exception.SizeLimitException: Complete result exceeds size limit (4442047 of 4194304)
k
Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific details about the
SizeLimitException
error you're encountering. However, it seems like you're hitting a size limit while trying to perform an operation in Airbyte. This could be due to a configuration setting or a limitation of the system resources available to Airbyte. I recommend checking the [Airbyte troubleshooting guide](https://docs.airbyte.com/troubleshooting) and the [Airbyte community forum](https://discuss.airbyte.io) for similar issues. If you're still unable to resolve the issue, consider opening a Github ticket for further assistance.
a
@kapa.ai here is the code reference /* * Copyright (c) 2023 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.temporal.utils; import io.airbyte.commons.json.Jsons; import io.airbyte.commons.temporal.exception.SizeLimitException; /** * Provide validation to detect temporal failures earlier. * <p> * For example, when an activity returns a result that exceeds temporal payload limit, we may report * the activity as a success while it may fail further down in the temporal pipeline. The downside * is that having this fail in temporal means that we are mistakenly reporting the activity as * successful. */ public class PayloadChecker { public static final int MAX_PAYLOAD_SIZE_BYTES = 4 * 1024 * 1024; /** * Validate the payload size fits within temporal message size limits. * * @param data to validate * @param <T> type of data * @return data if size is valid * @throws SizeLimitException if payload size exceeds temporal limits. */ public static <T> T validatePayloadSize(final T data) { final String serializedData = Jsons.serialize(data); if (serializedData.length() > MAX_PAYLOAD_SIZE_BYTES) { throw new SizeLimitException(String.format(“Complete result exceeds size limit (%s of %s)“, serializedData.length(), MAX_PAYLOAD_SIZE_BYTES)); } return data; } }
k
I'm sorry, but the code you provided is not mentioned in the information extracts I have. Therefore, I'm unable to provide any specific insights or explanations about it. However, I can tell you that Airbyte uses Java 17 as part of its core backend, along with other technologies like Jersey, OAS3, PostgreSQL, JUnit 5, and Temporal for orchestration. You can learn more about Airbyte's technical stack [here](https://docs.airbyte.com/understanding-airbyte/tech-stack). If you have any specific questions about Airbyte, feel free to ask!