----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

For Unix, you also can use utility "top" to check memory size.
 
regards,
 

Boxin Dai 

Infospace 
3026 Solandt Road                Tel:      (613) 270-5452 
Kanata, Ontario                  Cell:     (613) 261-5552 
Canada K2K 2A5                   Fax:      (613) 765-5411 
www.infospace.com                Email:    [EMAIL PROTECTED] 

 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, November 17, 2000 10:27 AM
To: Java Apache Users
Subject: Re: SV: Memory Problem



Hi, 

thanks for your answer. 

We use the methods Runtime.getRuntime().freeMemory() and
Runtime.getRuntime().totalMemory() to check the mem size. We don't have any
loops that run continuously. 

Michael
____________________________________________

SinnerSchrader Aktiengesellschaft

mailto:[EMAIL PROTECTED]
http://www.sinnerschrader.de
fon  +49.(0) 40.39 88 55-0
fax  +49.(0) 40.39 88 55-55
Planckstrasse 13 | 22765 Hamburg | Germany
____________________________________________




        Rikard Westlund <[EMAIL PROTECTED]> 
Sent by: <[EMAIL PROTECTED]> 


17.11.00 15:56 
Please respond to "Java Apache Users" 


        
        To:        "'Java Apache Users'"
<[EMAIL PROTECTED]> 
        cc:         
        Subject:        SV: Memory Problem


Hi! 
  
What tool do u use to check the mem size on Solaris?? When it comes to the
OutOfMemory error I would give the code a second look over. If you have java
loops that execute/run continuously, make sure that they cleanup after them
self's and try to use inheriting as much as you can 
  
-Rikard   
-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Skickat: den 17 november 2000 15:01
Till: [EMAIL PROTECTED]
Ämne: Memory Problem


Hello, 

we are using Jserv 1.1 together with Apache 1.3.9 on a machine running
Solaris 2.7. 

The problem is the following: 
When we run our servlets under NT, about 40 MB of memory is allocated after
the initalisation of all servlets. When we check the memory on the Solaris
machine, a minimum of 300 MB is allocated. The max. heapsize available for
the vm is 800 MB, somtimes it happens that we run out of memory. What could
be the reason for this different behaviour? 

Thanks in advance! 
Michael Volz 
____________________________________________

SinnerSchrader Aktiengesellschaft

mailto:[EMAIL PROTECTED]
http://www.sinnerschrader.de
fon  +49.(0) 40.39 88 55-0
fax  +49.(0) 40.39 88 55-55
Planckstrasse 13 | 22765 Hamburg | Germany
____________________________________________ 





--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to