[jira] [Commented] (THRIFT-5664) fairly simple .thrift service call in rust , attempts to allocate too much memory and crashes

2022-11-06 Thread Erik (Jira)
[ https://issues.apache.org/jira/browse/THRIFT-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17629438#comment-17629438 ] Erik commented on THRIFT-5664: -- for reference :

Re: [jira] [Commented] (THRIFT-5664) fairly simple .thrift service call in rust , attempts to allocate too much memory and crashes

2022-10-28 Thread Yuxuan Wang
>Either way the Rust server/client implementations should have some max memory bound. I should have included that. Time to implement TConfiguration in Rust :) ( https://github.com/apache/thrift/blob/master/doc/specs/thrift-tconfiguration.md ) On Fri, Oct 28, 2022 at 6:44 AM Allen George wrote:

Re: [jira] [Commented] (THRIFT-5664) fairly simple .thrift service call in rust , attempts to allocate too much memory and crashes

2022-10-28 Thread Allen George
Hmm. My naive guess is that either the Rust server is interpreting the list/string length incorrectly and just allocating memory for an absurd number of elements. We’d have to see if the client is generating properly encoded data or if the Rust server has incorrect decoding. Either way the

[jira] [Commented] (THRIFT-5664) fairly simple .thrift service call in rust , attempts to allocate too much memory and crashes

2022-10-28 Thread Erik (Jira)
[ https://issues.apache.org/jira/browse/THRIFT-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17625714#comment-17625714 ] Erik commented on THRIFT-5664: -- full files are attached > fairly simple .thrift service call in rust ,