Tony Wong (IT) wrote:

> Basically, I wanted to store all private class A IP addresses in an
> array so I can perform network test with them.   That is about 16
> Million entries.   On a computer that has 1 G of memory it will hog up
> 800M in no time.  The worst part is that it can't finish storing them.  
>  
> What is the best approach to fix the problem?   Thanks in advance.

Use memory mapped IO if available or tie the data file to an array
using for eg. DBI_File.

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to