On Wednesday 27 June 2007 10:48:33 Martijn van Beek wrote:
> top - 10:39:06 up 12 days, 18:51,  4 users,  load average: 0.13, 0.11, 0.03
> Tasks: 103 total,   1 running, 102 sleeping,   0 stopped,   0 zombie
> Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:   4049256k total,  4013528k used,    35728k free,   414636k buffers
> Swap:  4096532k total,      488k used,  4096044k free,  2394464k cached
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 24630 martijn   18   0 1199m 174m 8200 S    0  4.4   0:06.07 java
> 24669 martijn   21   0 1265m  79m 9764 S    0  2.0   0:15.26 java
>
> We have 4 GB and java takes more than half for itself. Red5 isn't doing
> anything it just takes all the memory when started. Why does he do this? Is
> it normal?

This statement is not true. A process doesn't consume its "VIRT" (virtual or 
mapped memory size), but rather slightly more than what's displayed as 
its "RES" (resident memory size) in memory (the additional memory being the 
shared libraries loaded by the process, which aren't part of "RES", but are 
part of "VIRT", which also contains a lot more mapped memory which isn't 
necessarily used and/or present in physical memory, such as mmap'd files, 
etc.).

So, basically, your two Red5-processes consume slightly more than 250M of 
actual memory.

To explain the big difference between "VIRT" and "RES", consult your Java 
interpreter documentation.

Hope this explains things.

-- 
Heiko Wundram
Product & Application Development
-------------------------------------
Office Germany - EXPO PARK HANNOVER
 
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
 
Fon        +49 511 / 590 935 - 15
Fax        +49 511 / 590 935 - 29
Mail       [EMAIL PROTECTED]


Beenic Networks GmbH
-------------------------------------
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to