[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Clement Pellerin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456650#comment-15456650 ] Clement Pellerin commented on AVRO-1610: I can help with the configurable limit if the Avro team

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Clement Pellerin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456582#comment-15456582 ] Clement Pellerin commented on AVRO-1610: Here is the patch. {code} *** HttpTransceiver.java

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Ryan Blue (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456575#comment-15456575 ] Ryan Blue commented on AVRO-1610: - You can paste it in a comment, I can grab the raw comment source. You

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Clement Pellerin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456568#comment-15456568 ] Clement Pellerin commented on AVRO-1610: I can't find the attach file button in your version of

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Clement Pellerin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456561#comment-15456561 ] Clement Pellerin commented on AVRO-1610: It looks like I don't have permissions to attach files.

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Clement Pellerin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456478#comment-15456478 ] Clement Pellerin commented on AVRO-1610: Well, 2GB is already too big for my development machine.

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Ryan Blue (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456456#comment-15456456 ] Ryan Blue commented on AVRO-1610: - The allocation is limited to Integer.MAX_VALUE, 2GB. That's big, but not

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Clement Pellerin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456426#comment-15456426 ] Clement Pellerin commented on AVRO-1610: I'll write a patch to add the check against EOF, but that

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Ryan Blue (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456373#comment-15456373 ] Ryan Blue commented on AVRO-1610: - Sounds like a good assessment of the problem to me. Would you like to

[jira] [Commented] (AVRO-1610) HttpTransceiver.java allocates arbitrary amount of memory

2016-09-01 Thread Clement Pellerin (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15456366#comment-15456366 ] Clement Pellerin commented on AVRO-1610: The calculation of the length is wrong if the input stream