Search:

Type: Posts; User: Sean4u

Search: Search took 0.10 seconds.

  1. Re: Threads are killed randomly in While true loop

    I'm not sure jconsole will catch all memory leaks - perhaps someone more familiar with memory management might jump in - if the memory leak is in database connector code accessed via a native code...
  2. Re: Threads are killed randomly in While true loop

    What did you expect to happen? Java threads are not separate processes. What you kill when you kill the 'parent' is the JVM - everything dies.

    What might be happening is that you're running out of...
  3. Re: Threads are killed randomly in While true loop

    ps aux on my pc doesn't give me java threads. Try ps -eLf (from the manpages) that shows over 30 threads (who knew) for a Java application server I'm currently working on, though it doesn't tell me...
  4. Re: Threads are killed randomly in While true loop

    How do you know the Threads have been 'killed'? I would complete my catch clauses with a catch-all 'catch (Exception e){ e.printStackTrace(); }, just in case some other (than the two you do have...
Results 1 to 4 of 4