Re: [PBML] getting 'Out of memory!' message
- That didn't strike me! I'll try that..
merlyn@... wrote: >>>>> "aditi" == aditi gupta <aditi9783@...> writes:
aditi> I wrote this code to do some analysis on a human chromosome data (the
aditi> input file size is 4MB) and it has 8 one-dimensional arrays, along
aditi> with some transient arrays, as well as structured 'for loops'. The
aditi> code works fine with small data files but not with the one for which
aditi> it was written. It gives the message 'Out of memory!'. The Windows XP
aditi> system on which I ran the code has enough of empty space on disk, so
aditi> I guess the program has a high time complexity. Have I interpreted
aditi> the error message correctly?
Why not use a real database, if it doesn't fit all in memory?
For example, DBD::SQLite is self-hosting. Or DBM::Deep can create
complex data structures on disk as well.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Heres a new way to find what you're looking for - Yahoo! Answers
[Non-text portions of this message have been removed]