[jira] [Updated] (PROTON-1120) Memory leak using proton.utils

2016-02-01 Thread Jeff Ortel (JIRA)

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

Jeff Ortel updated PROTON-1120:
---
Attachment: memory-leak.py

reproducer used to collection and display statistics.

> Memory leak using proton.utils
> --
>
> Key: PROTON-1120
> URL: https://issues.apache.org/jira/browse/PROTON-1120
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: python-binding
>Affects Versions: 0.10
> Environment: python-qpid-proton-0.10-2.fc23.x86_64
> And 0.9-13
>Reporter: Jeff Ortel
> Attachments: memory-leak.py
>
>
> I have observed a fairly substantial memory leak using the blocking classes 
> in proton.utils.  Mainly with sending messages.  
> Observations:
> {code}
> growth =  52 MB  for  10,000 messages sent
> growth = 104 MB  for  20,000 messages sent
> leak   =  52 MB  per  10,000 sends or ~5 kB / send
> {code}
> The attached reproducer, can be used to collect and display statistics.  
> There is likely a better method for measuring the memory growth  but this was 
> easy.  Perhaps there is something incorrect/missing with the way I'm using 
> proton or measuring the memory growth/leak?
> {code}
> 
> 1 messages
> 
> total kB  242088   162567552 - sending
> total kB  293980   68224   59520 - sent
> total kB  293980   68228   59524 - receiving
> total kB  294236   68340   59632 - received
> SizeGrowth   Context
> __||__
> 242088 kB   +242088 kB   sending
> 293980 kB   + 51892 kB   sent
> 293980 kB   + 0 kB   receiving
> 294236 kB   +   256 kB   received
> 
> 2 messages
> 
> total kB  294236   68348   59640 - sending
> total kB  397820  171896  163232 - sent
> total kB  397820  171900  163236 - receiving
> total kB  398020  172060  163396 - received
> SizeGrowth   Context
> __||__
> 294236 kB   +294236 kB   sending
> 397820 kB   +103584 kB   sent
> 397820 kB   + 0 kB   receiving
> 398020 kB   +   200 kB   received
> {code}



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


[jira] [Updated] (PROTON-1120) Memory leak using proton.utils

2016-02-01 Thread Gordon Sim (JIRA)

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

Gordon Sim updated PROTON-1120:
---
Fix Version/s: 0.12.0

> Memory leak using proton.utils
> --
>
> Key: PROTON-1120
> URL: https://issues.apache.org/jira/browse/PROTON-1120
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: python-binding
>Affects Versions: 0.10
> Environment: python-qpid-proton-0.10-2.fc23.x86_64
> And 0.9-13
>Reporter: Jeff Ortel
>Assignee: Gordon Sim
> Fix For: 0.12.0
>
> Attachments: memory-leak.py
>
>
> I have observed a fairly substantial memory leak using the blocking classes 
> in proton.utils.  Mainly with sending messages.  
> Observations:
> {code}
> growth =  52 MB  for  10,000 messages sent
> growth = 104 MB  for  20,000 messages sent
> leak   =  52 MB  per  10,000 sends or ~5 kB / send
> {code}
> The attached reproducer, can be used to collect and display statistics.  
> There is likely a better method for measuring the memory growth  but this was 
> easy.  Perhaps there is something incorrect/missing with the way I'm using 
> proton or measuring the memory growth/leak?
> {code}
> 
> 1 messages
> 
> total kB  242088   162567552 - sending
> total kB  293980   68224   59520 - sent
> total kB  293980   68228   59524 - receiving
> total kB  294236   68340   59632 - received
> SizeGrowth   Context
> __||__
> 242088 kB   +242088 kB   sending
> 293980 kB   + 51892 kB   sent
> 293980 kB   + 0 kB   receiving
> 294236 kB   +   256 kB   received
> 
> 2 messages
> 
> total kB  294236   68348   59640 - sending
> total kB  397820  171896  163232 - sent
> total kB  397820  171900  163236 - receiving
> total kB  398020  172060  163396 - received
> SizeGrowth   Context
> __||__
> 294236 kB   +294236 kB   sending
> 397820 kB   +103584 kB   sent
> 397820 kB   + 0 kB   receiving
> 398020 kB   +   200 kB   received
> {code}



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