Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

BUG!! From Space get all the Heap => no memory left

843829Aug 19 2005 — edited Aug 21 2005
Hi,

my java settings:

-server -ms2048M -mx3072 -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xconcurrentio -Dsun.rmi.dgc.client.gcInterval=1800000 -sun.rmi.dgc.server.gcInterval=
1800000 -XX:+AggressiveHeap

my host:
SunOS name 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V440 => 4 processors

my problem:
=> this is OK
 
 {Heap before GC invocations=2706:
Heap
 PSYoungGen      total 1032000K, used 884352K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 884352K, 100% used [0x35c00000,0x6bba0000,0x6bba0000)
  from space 147648K, 0% used [0x74bd0000,0x74bd0000,0x7dc00000)
  to   space 147648K, 0% used [0x6bba0000,0x6bba0000,0x74bd0000)
 PSOldGen        total 1966080K, used 1966080K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 100% used [0x7dc00000,0xf5c00000,0xf5c00000)
 PSPermGen       total 39424K, used 39388K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277070,0xf8280000)
896355.142: [Full GC 2850432K->1859228K(2903872K), 20.6027895 secs]
 Heap after GC invocations=2706:
Heap
 PSYoungGen      total 1022592K, used 0K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 865536K, 0% used [0x35c00000,0x35c00000,0x6a940000)
  from space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
  to   space 157056K, 0% used [0x6a940000,0x6a940000,0x742a0000)
 PSOldGen        total 1881280K, used 1859228K [0x7dc00000, 0xf0930000, 0xf5c00000)
  object space 1881280K, 98% used [0x7dc00000,0xef3a7100,0xf0930000)
 PSPermGen       total 39424K, used 39388K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277070,0xf8280000)
} 
 
=> after GC memory is shift from EDEN to FROM
 
 {Heap before GC invocations=2707:
Heap
 PSYoungGen      total 1022592K, used 862061K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 865536K, 99% used [0x35c00000,0x6a5db4a8,0x6a940000)
  from space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
  to   space 157056K, 0% used [0x6a940000,0x6a940000,0x742a0000)
 PSOldGen        total 1881280K, used 1859228K [0x7dc00000, 0xf0930000, 0xf5c00000)
  object space 1881280K, 98% used [0x7dc00000,0xef3a7100,0xf0930000)
 PSPermGen       total 39424K, used 39391K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277fa0,0xf8280000)
896392.139: [GC 2721289K->2908479K(2967360K), 0.6112336 secs]
 Heap after GC invocations=2707:
Heap
 PSYoungGen      total 1022592K, used 1003577K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 0% used [0x35c00000,0x35c00000,0x36e20000)
  from space 1004032K, 99% used [0x36e20000,0x7422e738,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1944768K, used 1904901K [0x7dc00000, 0xf4730000, 0xf5c00000)
  object space 1944768K, 97% used [0x7dc00000,0xf2041688,0xf4730000)
 PSPermGen       total 39424K, used 39391K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277fa0,0xf8280000)
}  
 
=> FROM is cleanuped but does not become smaller
 
{Heap before GC invocations=2708:
Heap
 PSYoungGen      total 1022592K, used 1003577K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 0% used [0x35c00000,0x35c00000,0x36e20000)
  from space 1004032K, 99% used [0x36e20000,0x7422e738,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1944768K, used 1904901K [0x7dc00000, 0xf4730000, 0xf5c00000)
  object space 1944768K, 97% used [0x7dc00000,0xf2041688,0xf4730000)
 PSPermGen       total 39424K, used 39391K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277fa0,0xf8280000)
896392.751: [Full GC 2908479K->1993571K(2988672K), 20.1916004 secs]
 Heap after GC invocations=2708:
Heap
 PSYoungGen      total 1022592K, used 49555K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 49% used [0x35c00000,0x365003a0,0x36e20000)
  from space 1004032K, 4% used [0x36e20000,0x39584a00,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1944016K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 98% used [0x7dc00000,0xf4674150,0xf5c00000)
 PSPermGen       total 39424K, used 39391K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277fa0,0xf8280000)
} 
 
=> FROM is still Used
 
{Heap before GC invocations=2709:
Heap
 PSYoungGen      total 1022592K, used 58898K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 100% used [0x35c00000,0x36e20000,0x36e20000)
  from space 1004032K, 4% used [0x36e20000,0x39584a00,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1960413K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 99% used [0x7dc00000,0xf5677668,0xf5c00000)
 PSPermGen       total 39424K, used 39391K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277fa0,0xf8280000)
896413.098: [Full GC 2019312K->2008733K(2988672K), 19.4113859 secs]
 Heap after GC invocations=2709:
Heap
 PSYoungGen      total 1022592K, used 50500K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 54% used [0x35c00000,0x365ec7e8,0x36e20000)
  from space 1004032K, 4% used [0x36e20000,0x39584a00,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1958233K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 99% used [0x7dc00000,0xf54564c8,0xf5c00000)
 PSPermGen       total 39424K, used 39391K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277fa0,0xf8280000)
} 2005-08-18 22:47:26 user 'ivancik' doesn't have a cached session -> doing LDAP authentification
 
=> FROM is still used
 
 {Heap before GC invocations=2710:
Heap
 PSYoungGen      total 1022592K, used 58898K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 100% used [0x35c00000,0x36e20000,0x36e20000)
  from space 1004032K, 4% used [0x36e20000,0x39584a00,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1958233K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 99% used [0x7dc00000,0xf54564c8,0xf5c00000)
 PSPermGen       total 39424K, used 39391K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf8277fd8,0xf8280000)
896432.572: [Full GC 2017131K->1993733K(2988672K), 19.7363711 secs]
 Heap after GC invocations=2710:
Heap
 PSYoungGen      total 1022592K, used 40338K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 99% used [0x35c00000,0x36e1ffe8,0x36e20000)
  from space 1004032K, 2% used [0x36e20000,0x38364a18,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1953394K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 99% used [0x7dc00000,0xf4f9cbe0,0xf5c00000)
 PSPermGen       total 39424K, used 39390K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf82779e8,0xf8280000)
}  
 
=> HEAP is now filled up and FROM can not be cleaned
 
{Heap before GC invocations=2711:
Heap
 PSYoungGen      total 1022592K, used 40338K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 100% used [0x35c00000,0x36e20000,0x36e20000)
  from space 1004032K, 2% used [0x36e20000,0x38364a18,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1953394K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 99% used [0x7dc00000,0xf4f9cbe0,0xf5c00000)
 PSPermGen       total 39424K, used 39390K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf82779e8,0xf8280000)
896452.367: [Full GC 1993733K->1993733K(2988672K), 19.2974234 secs]
 Heap after GC invocations=2711:
Heap
 PSYoungGen      total 1022592K, used 40338K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 100% used [0x35c00000,0x36e20000,0x36e20000)
  from space 1004032K, 2% used [0x36e20000,0x38364a18,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1953394K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 99% used [0x7dc00000,0xf4f9cbe0,0xf5c00000)
 PSPermGen       total 39424K, used 39390K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf82779e8,0xf8280000)
}  {Heap before GC invocations=2712:
Heap
 PSYoungGen      total 1022592K, used 40338K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 100% used [0x35c00000,0x36e20000,0x36e20000)
  from space 1004032K, 2% used [0x36e20000,0x38364a18,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1953395K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 99% used [0x7dc00000,0xf4f9cc10,0xf5c00000)
 PSPermGen       total 39424K, used 39390K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf82779e8,0xf8280000)
896471.748: [Full GC 1993733K->1993733K(2988672K), 19.1544327 secs]
 Heap after GC invocations=2712:
Heap
 PSYoungGen      total 1022592K, used 40338K [0x35c00000, 0x7dc00000, 0x7dc00000)
  eden space 18560K, 100% used [0x35c00000,0x36e20000,0x36e20000)
  from space 1004032K, 2% used [0x36e20000,0x38364a18,0x742a0000)
  to   space 157056K, 0% used [0x742a0000,0x742a0000,0x7dc00000)
 PSOldGen        total 1966080K, used 1953395K [0x7dc00000, 0xf5c00000, 0xf5c00000)
  object space 1966080K, 99% used [0x7dc00000,0xf4f9cc10,0xf5c00000)
 PSPermGen       total 39424K, used 39390K [0xf5c00000, 0xf8280000, 0xf9c00000)
  object space 39424K, 99% used [0xf5c00000,0xf82779e8,0xf8280000)
}  {Heap before GC invocations=2713:
Heap
 
 
thanks for help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2005
Added on Aug 19 2005
3 comments
589 views