Tried - no luck. Maybe a different user group.
Tried profiling and the issue is definitely in fill_array routine. It is only 
incrementing/decrementing single key hashes - really strange - I wish I could profile 
each statement. Maybe I'll put each stement in a separate sub and try profiling again!

-----Original Message-----
From: Tillman, James [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 5:47 AM
To: Khosla, Deepak; Michael Krygowski
Cc: [EMAIL PROTECTED]
Subject: RE: memory usage issue


You might also try searching through the archives for this mailing list on
this topic.  I remember a discussion about a year ago involving large
variable allocations in a loop and memory usage.  

jpt

> -----Original Message-----
> From: Khosla, Deepak [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 2:41 PM
> To: Michael Krygowski
> Cc: [EMAIL PROTECTED]
> Subject: RE: memory usage issue
> 
> 
> Thanks Michael.
> I'll try it. I think the issue is internally with the hashes 
> - either they are not getting released or there is something 
> I am overlooking. I can see the perl process contiue chewing 
> memory while doing slower and slower I/O..
> 
> -----Original Message-----
> From: Michael Krygowski [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 12:19 PM
> To: Khosla, Deepak
> Cc: [EMAIL PROTECTED]
> Subject: RE: memory usage issue
> 
> 
> Deepak,
> 
> An application that I use quite a bit for tracking memory 
> issues and such, is called Process Explorer.  You can find 
> the application at www.sysinternals.com.  They have quite a 
> few other applications that have proved helpful in the past.
> 
> HTH
> 
> - Michael
> 
> 
> -----Original Message-----
> From: Khosla, Deepak [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 6:58 AM
> To: [EMAIL PROTECTED]
> Subject: memory usage issue
> 
> 
> Hi,
> Is there any way to find what is using up large amounts of 
> memory in a program.
> I am reading large files in a loop (30-50 MB each). Before 
> each I initialize a few hashes to () but it appears that as I 
> read  multiple files, things get slower. Is there a wat to 
> tell where the leak may be. I have looked through the code 
> severla times but possibly could be missing something.
> 
> 
> ============================================
> Deepak Khosla
> 
> HP  Direct:  281-514-9234
> Self Direct:  713-339-7201
> ============================================
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to