I agree with what you said about this memory being in the X-Server. In
addition do you not get similar effects with other things in Java. For instance
when I create an File there is also a structure somewhere the keeps track of
infomation associated with the file discriptor. Also, in Windows where you
create a JFrame somewhere this is a window...the VM's got a handle for it.
These are not in the heap, they are system dependent and application may or may
not have access to how much memory they use.
Chris Abbey wrote:
> But is that memory allocated out of the chunk of VM reserved as the HEAP?
> I doubt it... I don't think it even blongs to the same process does it?
> Seems to me that it would have to belong to the Xserver's process... in
> the Xserver's address space and potentially on the Xserver's machine
> (as in a different machine than the JVM).
>
> By the same token if I go into native code by way of JNI and malloc 28Mb
> of main store, yes it comes out of the process address space that the JVM
> is running in, but it does not come out of the *heap*. The only thing that
> GC tracks in terms of memory usage is the amount of it's _reserved_ memory
> (the current heap) has been _commited_; at least on any JVM I've ever seen
> the guts of.
>
> p.s. [OT] I sure wish people would stop posting this "text/alternate"
> <x-html> stuff in public places... can a list serve be set to strip
> that tripe out I wonder?
>
> cabbey at home dot net <*> http://members.home.net/cabbey
> I want a binary interface to the brain!
> Today's opto-mechanical digital interfaces are just too slow!
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]