[ 
https://issues.apache.org/jira/browse/PHOENIX-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122581#comment-15122581
 ] 

Hudson commented on PHOENIX-1849:
---------------------------------

FAILURE: Integrated in Phoenix-master #1113 (See 
[https://builds.apache.org/job/Phoenix-master/1113/])
PHOENIX-1849 - MemoryLeak in PhoenixFlumePlugin PhoenixConnection (ravimagham: 
rev ee6370200b491bd210dd4f89d6be59162c994bd4)
* 
phoenix-flume/src/main/java/org/apache/phoenix/flume/serializer/RegexEventSerializer.java


> MemoryLeak in PhoenixFlumePlugin PhoenixConnection
> --------------------------------------------------
>
>                 Key: PHOENIX-1849
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1849
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.3.0
>         Environment: JDK 1.7 Flume 1.5.2 Phoenix 4.3.0 HBase 0.98
>            Reporter: PeiLiping
>            Assignee: maghamravikiran
>             Fix For: 4.7.0
>
>         Attachments: PHOENIX-1849.patch
>
>
> I got OOME after using the PhoenixFlumePlugin to write data into HBase for 6 
> hours. It looks like the  PhoenixConnection never release the prepare 
> statements list even I call the commit method manually. 
> Now I had to close the connection after using the connection thousand times 
> and recreate a new connection later.
> This issue is caused by the statements is never be cleared, so the fix could 
> be clear the statements once the connection doesn't need them.
> Code:
> PhoenixConnection.java : 122 
> private List<SQLCloseable> statements = new ArrayList<SQLCloseable>();



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to