Skip Menu |

This queue is for tickets about the Rose-DB-Object CPAN distribution.

Report information
The Basics
Id: 79827
Status: stalled
Priority: 0/
Queue: Rose-DB-Object

People
Owner: Nobody in particular
Requestors: iamomin [...] yahoo.co.in
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.800
Fixed in: (no value)



Subject: Rose::DB::Object memory leak test
Hello, I am using Rose::DB and Rose::DB::Object ORM to communicate with MySql database. I did memory leakage test of Rose::DB::Object with the help of Perl package Test::LeakTrace and found bunch of leakages. I have attached memoryTest.zip which contain test script 'leaktracetest.pl' which insert a row in DB with the help of OCS::DB::Session::Log (Inherited from Rose::DB::Object). Log details of this test script is present in the zip named 'RoseDBInsertLeakLogDetails.txt' Distribution name and version: Rose-DB-Object-0.800 Perl version: 5.8.8 Operating System vendor and version: Linux RT-XML 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux Please let us know if we have any solution on this. Imran
Subject: memoryTest.zip
Download memoryTest.zip
application/octet-stream 6.3k

Message body not shown because it is not plain text.

I think you're being fooled by globals and caches used internally by the Rose::DB::* modules. The best way to demonstrate an actual leak is to run the same code over and over and show that the memory size of the process continues to grow without bound.
From: iamomin [...] yahoo.co.in
On Mon Sep 24 08:22:10 2012, JSIRACUSA wrote: Show quoted text
> I think you're being fooled by globals and caches used internally by > the Rose::DB::* modules. > The best way to demonstrate an actual leak is to run the same code > over and over and show that > the memory size of the process continues to grow without bound.
Thanks John for the reply. Will test it on the server under observation of process memory size.