>From Adam Langley <[EMAIL PROTECTED]>
>On Sat, Dec 30, 2000 at 05:18:58AM -0600, Mark J. Roberts wrote:
>(5 minutes later)
>It might not be fred's fault at all:
>
>
>class MemTest {
> public static void main (String[] args) {
> System.out.println ("Sleeping");
> try {
> java.lang.Thread.sleep (9000000);
> } catch (java.lang.InterruptedException e) {
> }
> }
>}
>
>gives:
>
>VmSize: 88732 kB
>VmLck: 0 kB
>VmRSS: 6152 kB
>VmData: 83812 kB
>VmStk: 260 kB
>VmExe: 16 kB
>VmLib: 4444 kB
>
>83MB data without doing anything! (and 5 threads I might add). Shit,
>that's a bloated JVM:
>
>java version "1.3.0"
>Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
>Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20000815 (JIT enabled:
jitc))
>
>AGL
Fred, after running for quite a while, gets up to 20MB Physical, 62MB virtual
on my Windows 2000 box:
C:\WINNT>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
MemTest runs at 3.3MB physical, 6.4 virtual. I've got 128MB physical memory
total.
I don't know off the top of my head how Windows 2000's task manager reports
(cross-process) shared memory or reserved but unused virtual memory pages...
--
Benjamin Coates
_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev