• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Threads

 
Ranjan Dalai
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Iam having a problem......
My work is to process IP address one by one from a LOG file.
As the log file is very big so iam using Threads to reduce time.
Like if iam having 77 ip address then iam opening 10 connections
at a time by 10 thread...and the rest 7 ip are processed one by one..
But the thing is that when i start to run the application
the console window goes off and next time it works...
if the log file is big then i have to run the application
2-3 times after than i get the console window..and gives the output..
But if iam not using the threads then the window nevers goes off
but the time to process is very high..3 hrs to process 100 ip address
so can any one help me...
Ranjan...
U can mail me at ranjankumar80@hotmail.com
 
Ranjan Dalai
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i mean to say jbuilder console window...
******************************
AppAccelerator(tm) 1.2.010 for Java (JDK 1.2), x86 version.
Copyright (c) 1997-1999 Inprise Corporation. All Rights Reserved.
robot.szukacz.pl
Company Name: 24 GODZINY SP. Z O.O.
street: UL. GARAZOWA 7
city: 02-651 WARSZAWA
location: PL
handle: nsk241211
phone: +48.226077884
Press Ctrl+C to terminate the application...
**************************************
here as i run only one single ip so no problem ,
but i run a big log file 2 mb then this window goes off......
after trying 2-3 times then the window stays and gives the output..
thanks..
Thanks
Ranjan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!