D
dn.perl
I am using perl 5.6 on FreeBSD. (This is perl, v5.6.1 built for i386-
freebsd).
DBI version 1.48 .
I am running a select command which returns 355,000+ rows. While
reading it into a hash, I should have 280,000+ hash-keys when I am
done constructing the hash.
But the script is aborting with message: Out of memory!
What might be wrong? If I can keep the hash-size down (deal with a
key, complete all calculations assoiated with that key, then undef
it), will it help?
$$rh_result{field01}{field02} = 2 ;
do calculations for this hash-key
undef $$rh_result{field01} ; # I do not know the syntax to undef,
but will find it out.
Please advise.
freebsd).
DBI version 1.48 .
I am running a select command which returns 355,000+ rows. While
reading it into a hash, I should have 280,000+ hash-keys when I am
done constructing the hash.
But the script is aborting with message: Out of memory!
What might be wrong? If I can keep the hash-size down (deal with a
key, complete all calculations assoiated with that key, then undef
it), will it help?
$$rh_result{field01}{field02} = 2 ;
do calculations for this hash-key
undef $$rh_result{field01} ; # I do not know the syntax to undef,
but will find it out.
Please advise.