Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limitation for the Java console 1

Status
Not open for further replies.

peteru

Technical User
Oct 26, 2001
27
0
0
DE
Hello,

I have a question regards console limitation. I do print some debugging information into the java console, so that the user in case of trouble can copy the console and send it to me.
Now my questions:
Is there any limitation in the console?
Does it slow down the system if the number of lines increase in the console?
Does the console truncate the information if the number increases to much?

Thanks for helping,
Peter
 
>>>>> Does it slow down the system if the number of lines increase in the console?
Yes, but not that significantly in practive (unless you are looking at applications that you measure their turnaround speed in milliseconds).

>>>> Does the console truncate the information if the number increases to much?
All consoles have a "buffer limit" - so if you write so much information that it exceeds this buffer, then you will lose it.



--------------------------------------------------
Free Database Connection Pooling Software
 
>>>> Does the console truncate the information if the number increases to much?
All consoles have a "buffer limit" - so if you write so much information that it exceeds this buffer, then you will lose it.

Can I set the buffer size?
If it is fixed how big is the buffer?

 
Open up a DOS prompt/console (cmd.exe)

Right-Click on the top (blue) bar, and go to properties.

Click on the Layout tab.

Adjust "Screen Buffer Size" height- the highest is 9999 - this will give you a lot of output.

--------------------------------------------------
Free Database Connection Pooling Software
 
Hi,
I'm sorry but I think I do not fully explain what is meant with "console".

I have programmed a java applet that prints notifications to the Java Console (with log4j). This console is being started when the applet is loaded with the IE.

Do you know any limitations regards this console? ( Buffer size, logging, speed ,...)

sorry for the confusion...


console:
Java(TM) Plug-in: Version 1.3.1_11
Verwendung der JRE-Version 1.3.1_11 Java HotSpot(TM) Client VM
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
 
Oh !!!

Everything I said ealier will apply to the "Java Console", but I have no idea of the buffer size, or how to change it :(

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top