[jira] [Updated] (QPID-7465) [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers

2016-10-21 Thread Lorenz Quack (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-7465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorenz Quack updated QPID-7465:
---
Fix Version/s: qpid-java-6.1

> [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers
> --
>
> Key: QPID-7465
> URL: https://issues.apache.org/jira/browse/QPID-7465
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker
>Reporter: Lorenz Quack
>Assignee: Alex Rudyy
> Fix For: qpid-java-6.0.5, qpid-java-6.1
>
> Attachments: QPID-7465.diff, QPID-7465_v2.diff, QPID-7465_v2.diff
>
>
> As reported by [this email 
> thread|http://qpid.2158936.n2.nabble.com/java-broker-6-0-2-OOM-tp7651831.html]
>  the broker can currently run out of direct memory without flow-to-disk ever 
> kicking in.
> A defect in {{SeverEncoder#init()}} means that we allocate a new 8 kB direct 
> bytebuffer everytime it is called (i.e. on every AMQP 0-10 method or 
> command). This is wasteful and in some cases the GC does not collect these 
> direct byte buffers fast enough leading to the OOM.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-7465) [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers

2016-10-21 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-7465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-7465:
-
Fix Version/s: qpid-java-6.0.5

> [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers
> --
>
> Key: QPID-7465
> URL: https://issues.apache.org/jira/browse/QPID-7465
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker
>Reporter: Lorenz Quack
>Assignee: Alex Rudyy
> Fix For: qpid-java-6.0.5
>
> Attachments: QPID-7465.diff, QPID-7465_v2.diff, QPID-7465_v2.diff
>
>
> As reported by [this email 
> thread|http://qpid.2158936.n2.nabble.com/java-broker-6-0-2-OOM-tp7651831.html]
>  the broker can currently run out of direct memory without flow-to-disk ever 
> kicking in.
> A defect in {{SeverEncoder#init()}} means that we allocate a new 8 kB direct 
> bytebuffer everytime it is called (i.e. on every AMQP 0-10 method or 
> command). This is wasteful and in some cases the GC does not collect these 
> direct byte buffers fast enough leading to the OOM.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-7465) [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers

2016-10-20 Thread Lorenz Quack (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-7465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorenz Quack updated QPID-7465:
---
Assignee: (was: Lorenz Quack)

> [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers
> --
>
> Key: QPID-7465
> URL: https://issues.apache.org/jira/browse/QPID-7465
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker
>Reporter: Lorenz Quack
> Attachments: QPID-7465.diff, QPID-7465_v2.diff, QPID-7465_v2.diff
>
>
> As reported by [this email 
> thread|http://qpid.2158936.n2.nabble.com/java-broker-6-0-2-OOM-tp7651831.html]
>  the broker can currently run out of direct memory without flow-to-disk ever 
> kicking in.
> A defect in {{SeverEncoder#init()}} means that we allocate a new 8 kB direct 
> bytebuffer everytime it is called (i.e. on every AMQP 0-10 method or 
> command). This is wasteful and in some cases the GC does not collect these 
> direct byte buffers fast enough leading to the OOM.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-7465) [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers

2016-10-20 Thread Lorenz Quack (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-7465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorenz Quack updated QPID-7465:
---
Status: Reviewable  (was: In Progress)

> [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers
> --
>
> Key: QPID-7465
> URL: https://issues.apache.org/jira/browse/QPID-7465
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker
>Reporter: Lorenz Quack
>Assignee: Lorenz Quack
> Attachments: QPID-7465.diff, QPID-7465_v2.diff, QPID-7465_v2.diff
>
>
> As reported by [this email 
> thread|http://qpid.2158936.n2.nabble.com/java-broker-6-0-2-OOM-tp7651831.html]
>  the broker can currently run out of direct memory without flow-to-disk ever 
> kicking in.
> A defect in {{SeverEncoder#init()}} means that we allocate a new 8 kB direct 
> bytebuffer everytime it is called (i.e. on every AMQP 0-10 method or 
> command). This is wasteful and in some cases the GC does not collect these 
> direct byte buffers fast enough leading to the OOM.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-7465) [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers

2016-10-19 Thread Lorenz Quack (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-7465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorenz Quack updated QPID-7465:
---
Attachment: QPID-7465_v2.diff

> [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers
> --
>
> Key: QPID-7465
> URL: https://issues.apache.org/jira/browse/QPID-7465
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker
>Reporter: Lorenz Quack
> Attachments: QPID-7465.diff, QPID-7465_v2.diff, QPID-7465_v2.diff
>
>
> As reported by [this email 
> thread|http://qpid.2158936.n2.nabble.com/java-broker-6-0-2-OOM-tp7651831.html]
>  the broker can currently run out of direct memory without flow-to-disk ever 
> kicking in.
> A defect in {{SeverEncoder#init()}} means that we allocate a new 8 kB direct 
> bytebuffer everytime it is called (i.e. on every AMQP 0-10 method or 
> command). This is wasteful and in some cases the GC does not collect these 
> direct byte buffers fast enough leading to the OOM.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-7465) [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers

2016-10-19 Thread Lorenz Quack (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-7465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorenz Quack updated QPID-7465:
---
Attachment: QPID-7465_v2.diff

> [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers
> --
>
> Key: QPID-7465
> URL: https://issues.apache.org/jira/browse/QPID-7465
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker
>Reporter: Lorenz Quack
> Attachments: QPID-7465.diff, QPID-7465_v2.diff
>
>
> As reported by [this email 
> thread|http://qpid.2158936.n2.nabble.com/java-broker-6-0-2-OOM-tp7651831.html]
>  the broker can currently run out of direct memory without flow-to-disk ever 
> kicking in.
> A defect in {{SeverEncoder#init()}} means that we allocate a new 8 kB direct 
> bytebuffer everytime it is called (i.e. on every AMQP 0-10 method or 
> command). This is wasteful and in some cases the GC does not collect these 
> direct byte buffers fast enough leading to the OOM.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-7465) [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers

2016-10-19 Thread Lorenz Quack (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-7465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorenz Quack updated QPID-7465:
---
Attachment: QPID-7465.diff

> [Java Broker] Stop ServerEncoder from unnecessarily allocating ByteBuffers
> --
>
> Key: QPID-7465
> URL: https://issues.apache.org/jira/browse/QPID-7465
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker
>Reporter: Lorenz Quack
> Attachments: QPID-7465.diff
>
>
> As reported by [this email 
> thread|http://qpid.2158936.n2.nabble.com/java-broker-6-0-2-OOM-tp7651831.html]
>  the broker can currently run out of direct memory without flow-to-disk ever 
> kicking in.
> A defect in {{SeverEncoder#init()}} means that we allocate a new 8 kB direct 
> bytebuffer everytime it is called (i.e. on every AMQP 0-10 method or 
> command). This is wasteful and in some cases the GC does not collect these 
> direct byte buffers fast enough leading to the OOM.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org