Subject: | Can't build new database |
I decided to build my own updated database file.
Either from provided update scripts and my own IP-Location database (ip2location.com) I guess ipcc_maker.pl gets into some loop.
When I add line into ipcc_maker.pl:
____CODE_______
sub _findSize
{
my ($self,$node) = @_;
my $size = 0;
if (exists $node->{cc}){
print $node->{cc} . "\n"; # <--- ADDED DEBUG
____END CODE CUT_____
I see that script reports line:
--
Which shows processing for non-asociated counties but after that nothing. After approx 10 minutes and 700MB used memory perl crashes.
I can provide scripts to convert ip2location.com database into sorted_countries.txt if anyone is interested.
This DB looks much more accurate I think.
Tested on Windows XP:
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
Otherwise, excelent work! Great, helpful module I love!