Skip to content
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

Releasing memory in ZERO_COPY mode. #1093

Open
german-komarov-dev opened this issue Jul 13, 2023 · 0 comments
Open

Releasing memory in ZERO_COPY mode. #1093

german-komarov-dev opened this issue Jul 13, 2023 · 0 comments

Comments

@german-komarov-dev
Copy link

I want to ask question here as there is the similar question in StackOverFlow which is not answered (https://stackoverflow.com/questions/67898403/using-rsocket-payloaddecoder-zero-copy-correctly).

So my question is when I use .payloadDecoder(PayloadDecoder.ZERO_COPY) where and how do I need to release payload? As I see in the source code the DefaultPayload the "release" method does nothing just return false. So I want to use ZERO_COPY feature but I didn't find in the Internet any information where and how to free memory. So I would be very grateful for explanation from this library authors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant