+1, System.out and System.err are the easiest way to write logs, and some times I want to be able to keep a server application running in the debugger for a whole day.
Dirk Z�ttl _______________________________________________________________ -----Original Message----- From: Gerrit Van Niekerk [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 24. Oktober 2001 13:18 To: '[EMAIL PROTECTED]' Subject: [Eap-list] Lots of program output grinds IDEA When a program run from IDEA writes a lot to System.out, IDEA takes a very long to display it all, hanging in the meantime, uses all CPU power and LOTS of memory. IDEA must be buffering the data, because after my program terminates (as seen from taskmanager) it still takes a LONG time to get itself together again, if ever. The following program demonstrates the problem: public class TestOut { public static void main(String s[]) { for (int i = 0; i < 10000; i++) System.out.println("Lets overload outputstream "+i); } } // not a very big deal! ;-) I suggest that you either: 1. Limit the size of the buffer that read the program's output (eg. ringbuffer) 2. Add option in "Run/debug conf..." that redirects output to a file - probably the easiest! I'm using #508 (though the 'bug' is not new), win2k, 650 MHz, 256M. ------------------------------------------------------------ IMPORTANT NOTICE. Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Monitoring and Scanning: CeNeS has monitoring and scanning systems in place in relation to emails sent and received to: monitor / record business communications; prevent and detect crime; investigate the use of the Company's internal and external email system; and provide evidence of compliance with business practices. _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
