Re: Out of memory, HTML::TableExtract

2011-01-27 Thread C.DeRykus
On Jan 27, 3:29 am, jinstho...@gmail.com (Jins Thomas) wrote: > On Thu, Jan 27, 2011 at 4:44 PM, C.DeRykus wrote: > > On Jan 26, 11:28 pm, jinstho...@gmail.com (Jins Thomas) wrote: > > > > Hi DeRykus > > > > Sorry for replying late. > > > > I was able to  test DB_File with your example, thanks. Bu

Re: Out of memory, HTML::TableExtract

2011-01-27 Thread Jins Thomas
On Thu, Jan 27, 2011 at 4:44 PM, C.DeRykus wrote: > On Jan 26, 11:28 pm, jinstho...@gmail.com (Jins Thomas) wrote: >> > > Hi DeRykus > > > > Sorry for replying late. > > > > I was able to test DB_File with your example, thanks. But i'm facing > > a problem. I'm not able to access multi dimension

Re: Out of memory, HTML::TableExtract

2011-01-27 Thread C.DeRykus
On Jan 26, 11:28 pm, jinstho...@gmail.com (Jins Thomas) wrote: > Hi DeRykus > > Sorry for replying late. > > I was able to  test DB_File with your example, thanks. But i'm facing > a problem. I'm not able to access multi dimensional array with this > DB_File. Address is being stored just a string.

Re: Out of memory, HTML::TableExtract

2011-01-26 Thread Jins Thomas
Hi DeRykus Sorry for replying late. I was able to test DB_File with your example, thanks. But i'm facing a problem. I'm not able to access multi dimensional array with this DB_File. Address is being stored just a string. Do we have some options where we can access multi dimensional arrays (like

Re: Out of memory, HTML::TableExtract

2011-01-07 Thread C.DeRykus
On Jan 5, 10:56 pm, jinstho...@gmail.com (Jins Thomas) wrote: > Hi experts, > > Have you ever experienced Out of memory problem while using > HTML::TableExtract. I'm having little large html files, still i didn't > expect this to happen > > Would you be able to suggest some workarounds for this. I'

Re: Out of memory, HTML::TableExtract

2011-01-06 Thread C.DeRykus
On Jan 5, 10:56 pm, jinstho...@gmail.com (Jins Thomas) wrote: > Hi experts, > > Have you ever experienced Out of memory problem while using > HTML::TableExtract. I'm having little large html files, still i didn't > expect this to happen > If the html files are really big, HTML::TableExtract might

Re: Out of memory, HTML::TableExtract

2011-01-06 Thread Parag Kalra
> Maybe because you aren't closing each file after you have done your thing > and it remains in memory? Well I may be wrong but I think since he is using same file handler for each file, new instance is over writing the older one so all files cannot remain opened and hence cannot be in memory. I

Re: Out of memory, HTML::TableExtract

2011-01-06 Thread Robert
Maybe because you aren't closing each file after you have done your thing and it remains in memory? On 2011-01-06 02:26:13 -0500, Jins Thomas said: --0016364270585953cf049927ffd4 Content-Type: text/plain; charset=ISO-8859-1 Hi experts, Have you ever experienced Out of memory problem whi

Re: Out of Memory!

2010-10-13 Thread Chas. Owens
On Wed, Oct 13, 2010 at 04:41, Panda-X wrote: snip > From my observation, the Out of Memory error could happen anytime, where > the "MEM" size was never over 10K. > > Any clues ? snip Then the problem is unlikely to be that message. The two most common things that will cause you to run out of me

Re: Out of Memory!

2010-10-13 Thread Rob Coops
On Wed, Oct 13, 2010 at 10:41 AM, Panda-X wrote: > > > 2010/10/13 Rob Coops > > >> >> On Wed, Oct 13, 2010 at 8:42 AM, Panda-X wrote: >> >>> Hi List, >>> >>> My script is running on WinXP, Dos shell, which is a server program. >>> >>> It works fine, unless it will pops-up a "Out of Memory!" and

Re: Out of Memory!

2010-10-13 Thread Panda-X
2010/10/13 Rob Coops > > > On Wed, Oct 13, 2010 at 8:42 AM, Panda-X wrote: > >> Hi List, >> >> My script is running on WinXP, Dos shell, which is a server program. >> >> It works fine, unless it will pops-up a "Out of Memory!" and stop running >> per each few days! >> >> Could someone tell me th

Re: Out of Memory!

2010-10-13 Thread Rob Coops
On Wed, Oct 13, 2010 at 8:42 AM, Panda-X wrote: > Hi List, > > My script is running on WinXP, Dos shell, which is a server program. > > It works fine, unless it will pops-up a "Out of Memory!" and stop running > per each few days! > > Could someone tell me this error message is coming from Perl ?

Re: Out of Memory error with large Oracle DB extraction

2009-11-25 Thread Rene Schickbauer
Hi! I've done a lot of DBD::Oracle programming for over 10 years and never met a situation where I needed to do that. I can safely say that your program will be better off for using some sort of while ( ...->fetch ) loop. I also use DBD::Oracle in one of my projects (ActivePerl 5.10). I get

Re: Out of Memory error with large Oracle DB extraction

2009-11-19 Thread Peter Scott
On Thu, 19 Nov 2009 01:07:25 -0700, Dan Fish wrote: > I'm working on a project that requires some rather large extractions > from an Oracle DB (about 2 million rows) and while monitoring the task > manager, I get an "Out of memory error" at about 2GB of mem usage. [...] > Is there a built-in way to

Re: Out of Memory error with large Oracle DB extraction

2009-11-19 Thread Rob Coops
On Thu, Nov 19, 2009 at 9:07 AM, Dan Fish wrote: > I'm working on a project that requires some rather large extractions from > an > Oracle DB (about 2 million rows) and while monitoring the task manager, I > get an "Out of memory error" at about 2GB of mem usage. > > > > Client System Specifics:

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Robert H
On 9/20/09 12:17 PM, Shawn H Corey wrote: Rodrick Brown wrote: These disclaimers are requirements for anyone working in the securities industry. There isn't much the poster can do about this and shouldn't be bashed for this. Many of these disclaimers are automatically appended to everyones out g

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Shawn H Corey
Shlomi Fish wrote: I'm not sure whether we should discuss it so exhaustively. Many workplaces add it to their employee's E-mails, and it is a common practice, and it gets posted to public mailing lists with publicly accessible archives, and it may be legally iffy - but that's life. And it's mor

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Shlomi Fish
On Sunday 20 Sep 2009 19:12:31 Shawn H Corey wrote: > Telemachus wrote: > > On Sun Sep 20 2009 @ 10:13, Shawn H Corey wrote: > >> Telemachus wrote: > >>> Ok, I'll bite: do you really mean to say that it's a crime somewhere to > >>> put this bullshit drivel into an email and then send that mail to a

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Telemachus
On Sun Sep 20 2009 @ 12:17, Shawn H Corey wrote: > Rodrick Brown wrote: > >These disclaimers are requirements for anyone working in the > >securities industry. There isn't much the poster can do about this and > >shouldn't be bashed for this. Many of these disclaimers are > >automatically appended

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread jm
On Sun, Sep 20, 2009 at 11:12 AM, Shawn H Corey wrote: > Telemachus wrote: > >> On Sun Sep 20 2009 @ 10:13, Shawn H Corey wrote: >> >>> Telemachus wrote: >>> Ok, I'll bite: do you really mean to say that it's a crime somewhere to put this bullshit drivel into an email and then send

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Shawn H Corey
Rodrick Brown wrote: These disclaimers are requirements for anyone working in the securities industry. There isn't much the poster can do about this and shouldn't be bashed for this. Many of these disclaimers are automatically appended to everyones out going emails so there isn't really anything

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Shawn H Corey
Telemachus wrote: On Sun Sep 20 2009 @ 10:13, Shawn H Corey wrote: Telemachus wrote: Ok, I'll bite: do you really mean to say that it's a crime somewhere to put this bullshit drivel into an email and then send that mail to a public list? Annoying, sure. Pointless, sure. Non-binding, sure. But a

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Rodrick Brown
These disclaimers are requirements for anyone working in the securities industry. There isn't much the poster can do about this and shouldn't be bashed for this. Many of these disclaimers are automatically appended to everyones out going emails so there isn't really anything he could have done. No

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Telemachus
On Sun Sep 20 2009 @ 10:13, Shawn H Corey wrote: > Telemachus wrote: > >Ok, I'll bite: do you really mean to say that it's a crime somewhere to put > >this bullshit drivel into an email and then send that mail to a public > >list? Annoying, sure. Pointless, sure. Non-binding, sure. But a crime? > >

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Shawn H Corey
Telemachus wrote: Ok, I'll bite: do you really mean to say that it's a crime somewhere to put this bullshit drivel into an email and then send that mail to a public list? Annoying, sure. Pointless, sure. Non-binding, sure. But a crime? Speeding is illegal but not a crime. Not all laws are par

Re: "Tell your lawyers" [Was - Re: "Out Of Memory"]

2009-09-20 Thread Telemachus
On Sun Sep 20 2009 @ 9:01, Shawn H Corey wrote: > Ajay Kumar wrote: > >__ > >This communication contains information which is confidential. It is for the > >exclusive use of the intended recipient(s). If you are not the intended >

Re: "Out Of Memory"

2009-09-20 Thread Shawn H Corey
Ajay Kumar wrote: can anybody tell me what is the issues Please How big are the files? How much RAM do you have? How big is your swap? __ This communication contains information which is confidential. It is for the exclusiv

Re: out of memory

2008-11-01 Thread Dr.Ruud
Alert: this is also posted (and being replied on) in news:comp.lang.perl.misc article: news:[EMAIL PROTECTED] -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: out of memory problem

2007-02-14 Thread John W. Krahn
Arantxa Otegi wrote: > I have memory problems programming with perl: "out of memory!" > > I have to process a lot of xml files which are in different directories > (more than 2 files in 110 directories). The files are quite small > (almost all of them are smaller than 100KB). > Here is some co

Re: out of memory problem

2007-02-14 Thread Rob Dixon
Arantxa Otegi wrote: I have memory problems programming with perl: "out of memory!" I have to process a lot of xml files which are in different directories (more than 2 files in 110 directories). The files are quite small (almost all of them are smaller than 100KB). Here is some code: ##

Re: out of memory problem

2007-02-14 Thread Rob Dixon
Ken Foskey wrote: On Wed, 2007-02-14 at 12:37 +0100, Arantxa Otegi wrote: I have memory problems programming with perl: "out of memory!" I have to process a lot of xml files which are in different directories (more than 2 files in 110 directories). The files are quite small (almost all of

Re: out of memory problem

2007-02-14 Thread D. Bolliger
Arantxa Otegi am Mittwoch, 14. Februar 2007 12:37: > I have memory problems programming with perl: "out of memory!" > > I have to process a lot of xml files which are in different directories > (more than 2 files in 110 directories). The files are quite small > (almost all of them are smaller t

Re: out of memory problem

2007-02-14 Thread Ken Foskey
On Wed, 2007-02-14 at 12:37 +0100, Arantxa Otegi wrote: > I have memory problems programming with perl: "out of memory!" > > I have to process a lot of xml files which are in different directories > (more than 2 files in 110 directories). The files are quite small > (almost all of them are s

Re: Out of memory!, while extending scalar with vec()

2006-12-04 Thread Jenda Krynicky
From: "kyle cronan" <[EMAIL PROTECTED]> > On 12/3/06, Bill Jones <[EMAIL PROTECTED]> wrote: > > On 12/3/06, kyle cronan <[EMAIL PROTECTED]> wrote: > > > (1<<$ARGV[0]) > > > > Just a thought - > > > > The argument you are passing is really the two's complement; so you > > are really passing 256M (no

Re: Out of memory!, while extending scalar with vec()

2006-12-04 Thread Paul Johnson
On Sun, Dec 03, 2006 at 02:47:33AM -0800, kyle cronan wrote: > Hi, > > I was wondering if anyone can help me figure out a problem having to > do with accessing a scalar variable with vec().. it's illustrated by > this little test program: > > #!/usr/bin/perl > my $foo = ''; > vec($foo, (1<<$ARGV

Re: Out of memory!, while extending scalar with vec()

2006-12-03 Thread Tom Phoenix
On 12/3/06, kyle cronan <[EMAIL PROTECTED]> wrote: I have plenty of virtual memory, so there's no reason a malloc would fail that I can think of. Should I submit this with perlbug? Yes. Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Out of memory!, while extending scalar with vec()

2006-12-03 Thread kyle cronan
On 12/3/06, Bill Jones <[EMAIL PROTECTED]> wrote: On 12/3/06, kyle cronan <[EMAIL PROTECTED]> wrote: > (1<<$ARGV[0]) Just a thought - The argument you are passing is really the two's complement; so you are really passing 256M (not 28) to the vec statement. So what you're saying is I should be

Re: Out of memory!, while extending scalar with vec()

2006-12-03 Thread Bill Jones
On 12/3/06, kyle cronan <[EMAIL PROTECTED]> wrote: (1<<$ARGV[0]) Just a thought - The argument you are passing is really the two's complement; so you are really passing 256M (not 28) to the vec statement. -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe,

SOLVED - Re: Out of memory! - from CPAN

2006-03-16 Thread Jerry K
SOLVED!!! To answer Tom's question in his email, I am using the system malloc(). I was preparing to completely remove perl again, and re-install from scratch for a 3rd time. My definition of removing perl completely is: removing the compiled perl source code removing my .cpan subdirectory re

Re: Out of memory! - from CPAN

2006-03-16 Thread Jerry K
I have resolved my issue, and I will follow that up with another email. But to answer the questions below. Tom, I am not using perl's malloc, I am using the system malloc. When you asked this question, I also reviewed the perl installation on 8 other stand-alone systems that I have installe

Re: Out of memory! - from CPAN

2006-03-16 Thread Jay Savage
On 3/15/06, Tom Phoenix <[EMAIL PROTECTED]> wrote: > On 3/15/06, Jerry Kemp <[EMAIL PROTECTED]> wrote: > > > # perl -MCPAN -e shell > > cpan> reload index > > Out of memory! > > Was your perl compiled to use your system's malloc(), or Perl's own? > You can find out with a command like this one: > >

Re: Out of memory! - from CPAN

2006-03-15 Thread Tom Phoenix
On 3/15/06, Jerry Kemp <[EMAIL PROTECTED]> wrote: > # perl -MCPAN -e shell > cpan> reload index > Out of memory! Was your perl compiled to use your system's malloc(), or Perl's own? You can find out with a command like this one: perl -MConfig -lwe 'print $Config{usemymalloc}' Whichever you

RE: Out of memory! - from CPAN

2006-03-15 Thread Keenan, Greg John (Greg)** CTR **
Hi Jerry, >The slice that I am building on has 53 Gb of disk space free. I haven't followed this thread closely so I apologise if any of this has already been suggested or is not relevant. Have you checked if any system tables (process, file, inode etc.) are full. You can also check your kernel

Re: Out of memory! - from CPAN

2006-03-15 Thread Jerry Kemp
Hello Jay, Thank you for your reply. Jay Savage wrote: >> > Jerry, > > As others have said: comp.lang.perl.misc. > > The lack of replies, though, stems, I assume, from no one else having > encountered this. The general rule of thumb around here is "don't > answer unless you think you actually

Re: Out of memory! - from CPAN

2006-03-15 Thread Jerry Kemp
Hello Shawn, Thank you for your reply. Mr. Shawn H. Corey wrote: I can do this also. An for modules with none to just a few dependencies, this is an acceptable work-around. For modules with deep dependencies, it takes a long time to get everything worked out. Hopefully, this explains why I

Re: Out of memory! - from CPAN

2006-03-15 Thread Jerry Kemp
Hello John, Thank you for the correction, Jerry John W. Krahn wrote: Owen Cook wrote: You could try comp.lang.misc.perl That should be comp.lang.perl.misc :-) John -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Out of memory! - from CPAN

2006-03-15 Thread Jerry Kemp
Thank you again for the reply Owen Owen Cook wrote: On Tue, 14 Mar 2006, Jerry K wrote: Hello, I asked this question, and other than one response (thanks Owen!), things have been pretty silent on this issue. As I am a recent subscriber, maybe this is not the place to post this type of a r

Re: Out of memory! - from CPAN

2006-03-15 Thread Jay Savage
On 3/14/06, Jerry K <[EMAIL PROTECTED]> wrote: > Hello, > > I asked this question, and other than one response (thanks Owen!), > things have been pretty silent on this issue. > > As I am a recent subscriber, maybe this is not the place to post this > type of a request. > > Is there a better place t

Re: Out of memory! - from CPAN

2006-03-15 Thread Mr. Shawn H. Corey
Jerry K wrote: Hello, I asked this question, and other than one response (thanks Owen!), things have been pretty silent on this issue. As I am a recent subscriber, maybe this is not the place to post this type of a request. Is there a better place that someone might aim me to resolve this

Re: Out of memory! - from CPAN

2006-03-14 Thread John W. Krahn
Owen Cook wrote: > > You could try comp.lang.misc.perl That should be comp.lang.perl.misc :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Out of memory! - from CPAN

2006-03-14 Thread Owen Cook
On Tue, 14 Mar 2006, Jerry K wrote: > Hello, > > I asked this question, and other than one response (thanks Owen!), > things have been pretty silent on this issue. > > As I am a recent subscriber, maybe this is not the place to post this > type of a request. > > Is there a better place that

Re: Out of memory! - from CPAN

2006-03-14 Thread Jerry K
Hello, I asked this question, and other than one response (thanks Owen!), things have been pretty silent on this issue. As I am a recent subscriber, maybe this is not the place to post this type of a request. Is there a better place that someone might aim me to resolve this issue? Thanks f

Re: Out of memory! - from CPAN

2006-03-12 Thread Jerry K
Hello Owen, thank you for your reply. When I started over again, yes, I did remove .cpan . I have set .cpan to 20 Mb. My .cpan/build directory was at 21 Mb. I cleaned that directory out. I still get the "Out of memory!" error. Jerry K Owen Cook wrote: On Sun, 12 Mar 2006, Jerry K w

Re: Out of memory! - from CPAN

2006-03-12 Thread Owen Cook
On Sun, 12 Mar 2006, Jerry K wrote: > I have perl 5.8.7 running on a well patched Solaris 10 update 1 Sparc > system. I compiled perl on this system using the latest gcc for Solaris > 10 from sunfreeware.com. > > / 655 # perl -MCPAN -e shell > > cpan shell -- CPAN exploration and modules

Re: Out of Memory! error on large tied hash

2004-09-27 Thread Rob Benton
Chris Devers wrote: This may be the sort of problem that would best be handled by a proper database server. The folks writing RDBMSes have been tackling problems like this for decades now, and have some useful techniques; rather than reinvent the wheel, you can just leverage their efforts by put

Re: Out of memory error problem

2003-12-16 Thread drieux
On Dec 16, 2003, at 11:15 AM, Perl wrote: [..] The script works fine but when it runs against a very large file (2GB+) I receive an out of memory error. was the perl that you are using built to work with large datafiles? There is a USE_LARGE_FILE that is normally set, and you would see it with per

Re: Out of memory error problem

2003-12-16 Thread James Edward Gray II
On Dec 16, 2003, at 1:15 PM, Perl wrote: I wrote a small script that uses message ID's as unique values and extracts recipient address info. The goal is to count 1019 events per message ID. It also gets the sum of recipients per message ID. The script works fine but when it runs against a very lar

RE: Out of memory while finding duplicate rows

2003-02-24 Thread Madhu Reddy
hanks Peter - good point > > > -Original Message- > > From: Peter Scott [mailto:[EMAIL PROTECTED] > > Sent: Sunday, February 23, 2003 5:17 AM > > To: [EMAIL PROTECTED] > > Subject: RE: Out of memory while finding duplicate > rows > > > > > > In artic

RE: Out of memory while finding duplicate rows

2003-02-23 Thread Beau E. Cox
Thanks Peter - good point > -Original Message- > From: Peter Scott [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 23, 2003 5:17 AM > To: [EMAIL PROTECTED] > Subject: RE: Out of memory while finding duplicate rows > > > In article <[EMAIL PROTECTED]>

RE: Out of memory while finding duplicate rows

2003-02-23 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Beau E. Cox) writes: >Hi - > >Wait! If you are going to load the data into a database anyway, >why not use the existing database (or the one being created) to >remove duplicates. You don't even have to have an index on the >column you are making u

RE: Out of memory while finding duplicate rows

2003-02-23 Thread Beau E. Cox
PROTECTED] > Subject: RE: Out of memory while finding duplicate rows > > > Hi, >those data finally have to load into database.. > before loading into dabase,,we need to do some > validations like remove duplicate etc. > that is why i am doing... > > i have ano

RE: Out of memory while finding duplicate rows

2003-02-22 Thread Madhu Reddy
Hi, those data finally have to load into database.. before loading into dabase,,we need to do some validations like remove duplicate etc. that is why i am doing... i have another idea.. What i am planning is first sort the file.. once we sort the file..then it is easy to find duplicate

RE: Out of memory while finding duplicate rows

2003-02-22 Thread Beau E. Cox
Hi - > -Original Message- > From: Madhu Reddy [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 11:12 AM > To: [EMAIL PROTECTED] > Subject: Out of memory while finding duplicate rows > > > Hi, > I have a script that will find out duplicate rows > in a file...in a file i hav

Re: Out Of memory

2003-02-17 Thread Bernhard van Staveren
[snip] > Is there anything in particular in a script, that would cause this type of > error?? Any suggestions or areas to look at, would be greatly appreciated. If you're seeing "out of memory" in the Apache logs, first thing to look for is recursive loops inside the script. However if it doesn

Re: Out of Memory Working With Large Files

2003-01-20 Thread Rob Dixon
John W. Krahn wrote: > Rob Dixon wrote: >> >> John W. Krahn wrote: >>> >>> You should _always_ verify that the file opened successfully. >> >> Sure, but that's not what the question was about. You should always >> add 'use strict' and 'use warnings' too, but I didn't put that in >> either. >> >>> m

Re: Out of Memory Working With Large Files

2003-01-20 Thread John W. Krahn
Rob Dixon wrote: > > John W. Krahn wrote: > > Rob Dixon wrote: > >> > >> open FILE, "< file.txt"; > > > > You should _always_ verify that the file opened successfully. > > Sure, but that's not what the question was about. You should always add > 'use strict' and 'use warnings' too, but I

Re: Out of Memory Working With Large Files

2003-01-19 Thread Rob Dixon
John W. Krahn wrote: > Rob Dixon wrote: >> >> Nelson Ray wrote: >>> Just as a little background, I am working on a BioInformatics >>> program that runs on large (about 300 meg) text files. I am using a >>> filehandle to open and load it into an array. Then I use the join >>> command to read the a

Re: Out of Memory Working With Large Files

2003-01-19 Thread John W. Krahn
Rob Dixon wrote: > > Nelson Ray wrote: > > Just as a little background, I am working on a BioInformatics program > > that runs on large (about 300 meg) text files. I am using a > > filehandle to open and load it into an array. Then I use the join > > command to read the array into a scalar varia

Re: Out of Memory Working With Large Files

2003-01-19 Thread John W. Krahn
Nelson Ray wrote: > > Just as a little background, I am working on a BioInformatics program that > runs on large (about 300 meg) text files. I am using a filehandle to open > and load it into an array. Then I use the join command to read the array > into a scalar variable in order to be in a wor

Re: Out of Memory Working With Large Files

2003-01-19 Thread Rob Dixon
Hi Nelson Nelson Ray wrote: > Just as a little background, I am working on a BioInformatics program > that runs on large (about 300 meg) text files. I am using a > filehandle to open and load it into an array. Then I use the join > command to read the array into a scalar variable in order to be

Re: Out of memory on file merge

2002-10-03 Thread Michael Fowler
On Thu, Oct 03, 2002 at 03:04:07PM -0400, Rob Das wrote: > Is there a reasonable check for memory I can use to see what's available > compared to the file size? I don't know of a portable method for checking your memory. However, even if there were a way, why would you want to go that route? I

RE: Out of memory on file merge

2002-10-03 Thread Rob Das
ECTED]] Sent: Thursday, October 03, 2002 11:25 AM To: Janek Schleicher; [EMAIL PROTECTED] Subject: Re: Out of memory on file merge On Thursday 03 Oct 2002 5:20 pm, Janek Schleicher wrote: > Rob Das wrote at Thu, 03 Oct 2002 15:01:31 +0200: > > Hi all: > > > > I have a script

Re: Out of memory on file merge

2002-10-03 Thread Gary Stainburn
On Thursday 03 Oct 2002 5:20 pm, Janek Schleicher wrote: > Rob Das wrote at Thu, 03 Oct 2002 15:01:31 +0200: > > Hi all: > > > > I have a script that is merging many files into a new file, by reading > > one at a time and adding to the new one. The error I received was "Out of > > memory during re

Re: Out of memory on file merge

2002-10-03 Thread Janek Schleicher
Rob Das wrote at Thu, 03 Oct 2002 15:01:31 +0200: > Hi all: > > I have a script that is merging many files into a new file, by reading one > at a time and adding to the new one. The error I received was "Out of memory > during request for 1016 bytes, total sbrk() is 1186891848 bytes!" (I did not

Re: out of memory

2002-07-13 Thread Connie Chan
> > Here is the my script which fetch the data from oracle > > while ($data = $sth-> fetchrow ) { So, what is fetchrow doing ? would it cause an infinity loop which making the return value perpair for $data keep growing and finally eat up all your memory ? Beside, is there any argument for fetc

RE: Out of memory!

2002-01-17 Thread Edson Alvarenga (EDB)
Jenda, Great !!! Now, the script works very well. Thank you very much for your help. Edson -Original Message- From: Jenda Krynicky [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 16 de janeiro de 2002 12:04 To: '[EMAIL PROTECTED]' Cc: Edson Alvarenga (EDB) Subjec

Re: Out of memory!

2002-01-16 Thread Jenda Krynicky
From: "Edson Alvarenga (EDB)" <[EMAIL PROTECTED]> I've almost deleted the mail without reading. Please include what module do you have problems with in the subject! > I'm writing a script file in order to get the print queues, but > when I call the function EnumJobsA at the first time in order

Re: Out of memory on sort !!!!

2001-07-20 Thread Michael Fowler
On Fri, Jul 20, 2001 at 09:00:34AM -0400, Admiral Thrawn wrote: > I changed my code Like you sugessted. that got rid of the "out of memory > issue" but it's still not sorting the array baised on $a->[1] or $a->[8], Or > in english, It's sorting the list biased on the 8th colum, or any colum for >

RE: Out of memory on sort !!!!

2001-07-20 Thread Admiral Thrawn
m: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 3:57 PM To: 'Derrick (Thrawn01)'; Perl Beginners Subject: RE: Out of memory on sort > @sorted = sort { $data[$a] [0] <=> $data[$b] [0] } @data; In the sort block, $a and $b are *elements* of @data, not *s

RE: Out of memory on sort !!!!

2001-07-19 Thread Bob Showalter
> @sorted = sort { $data[$a] [0] <=> $data[$b] [0] } @data; In the sort block, $a and $b are *elements* of @data, not *subscripts*. Your sort block should be more like { $a->[0] <=> $b->[0] } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Out of memory on sort !!!!

2001-07-19 Thread todd
Why not use the DB to process your sort? todd. On Thu, 19 Jul 2001, Derrick (Thrawn01) wrote: > I setup an multidimetional array of data. ( I loading data base files into > memory.) > I wan't to sort the records by field 0 > But when I sort this referenced array ( multidimetional array ) I get