In linux, Hundreds of threads/process, it keep increases until the system can not spawn new java thread/process. thanks. -- Jinsuo Zhang
CISE department Univ of Florida On Mon, 25 Mar 2002, Mark J. Stang wrote: > Hi, > Count the number of xindice threads. Is the number increasing as you > run your tests or is does it reach a maximum number and stop > increasing? > > Mark > > Jinsuo Zhang wrote: > > > Hi, Mark: > > Thanks for answer. > > I do close the collection explicitly by using col.close() after > > every request to database. > > > > -- > > Jinsuo Zhang > > > > CISE department > > Univ of Florida > > > > On Mon, 25 Mar 2002, Mark J. Stang wrote: > > > > > According to Kimbro, everytime you create a collection, you are creating > > > a > > > thread. In linux, each thread is listed as a process. Are you > > > closing the > > > collection when done? > > > > > > Mark > > > > > > Jinsuo Zhang wrote: > > > > > > > hello, > > > > Do I need to close database just like closing of collection? > > > > It seems it will generate hundreds of java process if only closing > > > > collection after a long time accumulation of this routine work. > > > > In linux, it behave this way, but in windows, no this strange > > > > behavior. > > > > Thanks for help. > > > > > > > > -- > > > > Jinsuo Zhang > > > > > > > > CISE department > > > > Univ of Florida > > > > > > > >
