You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Philippe Mouawad (JIRA)" <ji...@apache.org> on 2009/06/12 16:20:07 UTC

[jira] Created: (OFBIZ-2599) Memory leak due to transaction management

Memory leak due to transaction management
-----------------------------------------

                 Key: OFBIZ-2599
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Release Branch 9.04, SVN trunk
         Environment: jdk5, commons-dbcp-head
            Reporter: Philippe Mouawad
            Priority: Critical


Hello,
We are been using Ofbiz with DBCP based implementation.
Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.

We are having recurrent OutOfMemory which occur on a 2 days basis.

See:
https://issues.apache.org/jira/browse/DBCP-294

Philippe Mouawad
http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated OFBIZ-2599:
------------------------------------

    Attachment: memory.png

Memory image of Production server.
4 days of run. 
Around the point 3800 patch was put in production.
You can see that memory leak is solved.

Philippe Mouawad
http://www.ubik-ingenierie.com

> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Priority: Critical
>         Attachments: commons-dbcp-1.3-r674758-patched.jar, memory.png, patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777936#action_12777936 ] 

Philippe Mouawad commented on OFBIZ-2599:
-----------------------------------------

Thanks for taking my patch into account
Philippe Mouawad
http://www.ubik-ingenierie.com

> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Assignee: Jacques Le Roux
>            Priority: Critical
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: commons-dbcp-1.3-r674758-patched.jar, memory.png, patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated OFBIZ-2599:
------------------------------------

    Attachment: patch-DBCPConneectionFactory.txt

Patch that relies on new commons-dbcp PoolableManagedConnectionFactory.
Needs commons-dbcp trunk after project has taken into account patch to bug:
https://issues.apache.org/jira/browse/DBCP-294

> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Priority: Critical
>         Attachments: patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2599.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
                   Release Branch 9.04

Thanks Philippe

Commited in trunk at r835394, R9.04 at r835400  

I built commons-dbcp-1.3-20091111-r834702.jar directly from DBCP trunk. I have submited a new file for doing it easily with Maven 2 at DBCP-304


> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Assignee: Jacques Le Roux
>            Priority: Critical
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: commons-dbcp-1.3-r674758-patched.jar, memory.png, patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reopened OFBIZ-2599:
------------------------------------


I had to revert at r835801 (trunk) and r835802 (R9.04) because we still use jdk 1.5 in OFBiz and I was not able to build DBCP OOTB with it (was ok with 1.6)
I asked for on user@commons.apache.org...

> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Assignee: Jacques Le Roux
>            Priority: Critical
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: commons-dbcp-1.3-r674758-patched.jar, memory.png, patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-2599:
--------------------------------------

    Assignee: Jacques Le Roux

> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Assignee: Jacques Le Roux
>            Priority: Critical
>         Attachments: commons-dbcp-1.3-r674758-patched.jar, memory.png, patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719999#action_12719999 ] 

Jacques Le Roux commented on OFBIZ-2599:
----------------------------------------

Thanks Philippe,

Sorry I have still not found the time to review/test your other patches

> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Priority: Critical
>         Attachments: commons-dbcp-1.3-r674758-patched.jar, patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2599.
----------------------------------

    Resolution: Fixed

Finally fixed, after a fix from Phil Steitz in DBCP at r835966.
Trunk r836015, R9.04 r836020  


> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Assignee: Jacques Le Roux
>            Priority: Critical
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: commons-dbcp-1.3-r674758-patched.jar, memory.png, patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2599) Memory leak due to transaction management

Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Mouawad updated OFBIZ-2599:
------------------------------------

    Attachment: commons-dbcp-1.3-r674758-patched.jar

Special build of commons-dbcp.
Should wait for official release but in case you encountered this bug.

Philippe Mouawad
http://www.ubik-ingenierie.com

> Memory leak due to transaction management
> -----------------------------------------
>
>                 Key: OFBIZ-2599
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2599
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>         Environment: jdk5, commons-dbcp-head
>            Reporter: Philippe Mouawad
>            Priority: Critical
>         Attachments: commons-dbcp-1.3-r674758-patched.jar, patch-DBCPConneectionFactory.txt
>
>
> Hello,
> We are been using Ofbiz with DBCP based implementation.
> Ofbiz uses a Head revision of DBCP (package org.apache.commons.dbcp.managed is the same as current TRUNK) and geronimo-transaction-1.0.
> We are having recurrent OutOfMemory which occur on a 2 days basis.
> See:
> https://issues.apache.org/jira/browse/DBCP-294
> Philippe Mouawad
> http://www.ubik-ingenierie.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.