How can I see memory used by Java?

1999-11-24 Thread Bradley Rosser

Hi.  I'm running the Blackdown 1.2preV2 java on Linux 2.2.12.

I've found that I have to use the -mx option to run with 128Mb or
so in my application.  I'm always curious as to how much memory
it's "really" using, and I've found that 'top' will report this
pretty well - at least I think so.  Memory increases slowly; I
get the application to run gc() and it drops, etc.  Top's report
seems faithful to what I know the application is doing.

However a 'ps -l' listing always shows the same amount of memory
in use, typically the 128Mb plus a bit more (for code, bss and
stuff, I guess).  So I'm assuming that java grabs all 128Mb worth
at the start, and ps shows that; so what does 'top' report in
what seems to be a more realistic portrayl of what Java is
actually 'using'?

Just curious,




Brad Rosser
[EMAIL PROTECTED]


__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[email protected]

1999-11-24 Thread Jo Uthus

"Hoppe, Hans" wrote: 

| C:\NetBeans\hello_tutorial>java HelloServer -ORBInitialHost 167.16.200.34
| -ORBInitialPort 1050

The sdk-documentation states that CORBA_COMM, minor 1 is:

"Unable to connect to the host and port specified in the object
reference, or in the object reference obtained after location/object
forward."

How is your NT-workstation configured ? I'm not familiar with the use
and configuration of Windows NT, but isn't there a possibility that
the NT-workstation doesn't allow you to receive data/connections on
any but some previously specified ports ?



-- 
Jo Uthus| e-mail: [EMAIL PROTECTED] (private)
Software Engineer   | e-mail: [EMAIL PROTECTED]  (work)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



JDK on Linux....

1999-11-24 Thread Pramila




Hi! ,
 
    Does JDK1.1.7 for Linux6.1 is built 
for 32bit linux or 64bit linux?.
    Does  JDK1.1.7 works on 
boh?.
 
    Thanks in 
advance...
 
Regard
Pramila


memory allocation under SMP

1999-11-24 Thread Michael Thome

Q: would the linux JDK benefit from an SMP-aware malloc/free library?
I just saw the announcement of a new version of Hoard
(http://www.cs.utexas.edu/users/emery/hoard/) and was fairly impressed 
by the claims.  Perhaps the blackdown jdk is either already using a
similar scheme or only allocs in one thread?

-mik

(disclaimer - I know nothing about Hoard beyond what's on their web
page, and even less about standard VM malloc use.)

-- 
Michael Thome ([EMAIL PROTECTED])


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



jdk-1.2.x plugin for Netscape-Linux ?

1999-11-24 Thread Cyril Dinh

Hi guys,

How far are we from being able do develop jdk1.2 applets
under Linux ?

(Right now I can program it and compile it on jdk-1.2pre2, but I have to
test
it on Slowlaris or Win98)

Thanks all really

--In GNU we trust.

C. Dinh
Math. Student
ETH-Zurich


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How can I see memory used by Java?

1999-11-24 Thread Nathan Meyers

The two numbers being reported are Virtual Memory (the amount of address
space allocated to the process) and Resident Set Size (the amount of the
process address space that is occupying physical RAM). When the data
space's VM is bigger than its RSS, the difference is paged out to the
swap devices, and paged into physical memory as needed.

Essentially, RSS reflects how much of the program's address space has
been touched recently, as well as the kernel's decision about how to
allocate physical memory among processes that need it. If a program
needs to regularly touch more memory than it can get RSS from the kernel,
it tends to hammer the swap devices.

Nathan

On Wed, Nov 24, 1999 at 03:09:24AM -0800, Bradley Rosser wrote:
> Hi.  I'm running the Blackdown 1.2preV2 java on Linux 2.2.12.
> 
> I've found that I have to use the -mx option to run with 128Mb or
> so in my application.  I'm always curious as to how much memory
> it's "really" using, and I've found that 'top' will report this
> pretty well - at least I think so.  Memory increases slowly; I
> get the application to run gc() and it drops, etc.  Top's report
> seems faithful to what I know the application is doing.
> 
> However a 'ps -l' listing always shows the same amount of memory
> in use, typically the 128Mb plus a bit more (for code, bss and
> stuff, I guess).  So I'm assuming that java grabs all 128Mb worth
> at the start, and ps shows that; so what does 'top' report in
> what seems to be a more realistic portrayl of what Java is
> actually 'using'?
> 
> Just curious,
> 
> 
> 
> 
> Brad Rosser
> [EMAIL PROTECTED]
> 
> 
> __
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com
> 
> 
> --
> 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]



[email protected]

1999-11-24 Thread Hoppe, Hans

I don't think that the problem is on the NT side because I've had success in
connecting several different NT workstations on multiple ports.  Linux isn't
allowing the NT box to connect through port 1050 (or any other port for that
matter).  Isn't there a config file somewhere that will allow remote clients
to connect through specific ports?  My hosts.deny file is empty.

"Hoppe, Hans" wrote: 

| C:\NetBeans\hello_tutorial>java HelloServer -ORBInitialHost 167.16.200.34
| -ORBInitialPort 1050

The sdk-documentation states that CORBA_COMM, minor 1 is:

"Unable to connect to the host and port specified in the object
reference, or in the object reference obtained after location/object
forward."

How is your NT-workstation configured ? I'm not familiar with the use
and configuration of Windows NT, but isn't there a possibility that
the NT-workstation doesn't allow you to receive data/connections on
any but some previously specified ports ?



-- 
Jo Uthus| e-mail: [EMAIL PROTECTED] (private)
Software Engineer   | e-mail: [EMAIL PROTECTED]  (work)


--
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]



[email protected]

1999-11-24 Thread Nathan Meyers

On Wed, Nov 24, 1999 at 01:33:41PM -0600, Hoppe, Hans wrote:
> I don't think that the problem is on the NT side because I've had success in
> connecting several different NT workstations on multiple ports.  Linux isn't
> allowing the NT box to connect through port 1050 (or any other port for that
> matter).  Isn't there a config file somewhere that will allow remote clients
> to connect through specific ports?  My hosts.deny file is empty.

The hosts.deny file isn't implicated; it's an application-level filter
that Java apps doesn't know anything about. Perhaps you've got some
kernel-level packet filtering turned on. If you've got a 2.2 kernel,
running this as root:

/sbin/ipchains --list

will tell you if you're doing any packet filtering. There's a comparable
/sbin/ipfwadm invocation for 2.0 kernels, but I don't recall the details.

Nathan


> 
> "Hoppe, Hans" wrote: 
> 
> | C:\NetBeans\hello_tutorial>java HelloServer -ORBInitialHost 167.16.200.34
> | -ORBInitialPort 1050
> 
> The sdk-documentation states that CORBA_COMM, minor 1 is:
> 
> "Unable to connect to the host and port specified in the object
> reference, or in the object reference obtained after location/object
> forward."
> 
> How is your NT-workstation configured ? I'm not familiar with the use
> and configuration of Windows NT, but isn't there a possibility that
> the NT-workstation doesn't allow you to receive data/connections on
> any but some previously specified ports ?
> 
> 
> 
> -- 
> Jo Uthus  | e-mail: [EMAIL PROTECTED] (private)
> Software Engineer | e-mail: [EMAIL PROTECTED]  (work)
> 
> 
> --
> 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]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]