Re: Possible memory leak with 0.13 and JDBC

2014-07-07 Thread jonas.partner
, jonas.partner wrote: Hi Edward, Thanks for the response.  Sorry I posted the wrong version. I also added close   on the two result sets to the code taken from the wiki as below but still the same problem. Will try to run it through your kit at the weekend.  For the moment I switched to running

Re: Possible memory leak with 0.13 and JDBC

2014-07-03 Thread jonas.partner
saying there is not a leak elswhere but statement and resultset objects both have .close() Java 7 now allows you to autoclose try (  Connection conn ...; Statement st = conn.createStatement() ){ something } On Thu, Jul 3, 2014 at 6:35 AM, jonas.partner wrote: We have been struggling to get a r

Possible memory leak with 0.13 and JDBC

2014-07-03 Thread jonas.partner
We have been struggling to get a reliable system working where we interact with Hive over JDBC a lot.  The pattern we see is that everything starts ok but the memory used by the Hive server process grows over time and after some hundreds of operations we start to see exceptions.   To ensure the