Hello,

currently i'm connection to oracle using the plain store configuration inside 
geoserver. I will try jndi next.

Here is the jmap output after i received a java heap exception:


>jmap -heap 4872
Attaching to process ID 4872, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 24.45-b08

using thread-local object allocation.
Parallel GC with 8 thread(s)

Heap Configuration:
   MinHeapFreeRatio = 40
   MaxHeapFreeRatio = 70
   MaxHeapSize      = 10485760000 (10000.0MB)
   NewSize          = 1310720 (1.25MB)
   MaxNewSize       = 17592186044415 MB
   OldSize          = 5439488 (5.1875MB)
   NewRatio         = 2
   SurvivorRatio    = 8
   PermSize         = 21757952 (20.75MB)
   MaxPermSize      = 1073741824 (1024.0MB)
   G1HeapRegionSize = 0 (0.0MB)

Heap Usage:
PS Young Generation
Eden Space:
   capacity = 1165492224 (1111.5MB)
   used     = 1162228528 (1108.3874969482422MB)
   free     = 3263696 (3.1125030517578125MB)
   99.71997273488459% used
>From Space:
   capacity = 1164967936 (1111.0MB)
   used     = 0 (0.0MB)
   free     = 1164967936 (1111.0MB)
   0.0% used
To Space:
   capacity = 1164967936 (1111.0MB)
   used     = 0 (0.0MB)
   free     = 1164967936 (1111.0MB)
   0.0% used
PS Old Generation
   capacity = 6990331904 (6666.5MB)
   used     = 6983625848 (6660.104606628418MB)
   free     = 6706056 (6.395393371582031MB)
   99.9040667010938% used
PS Perm Generation
   capacity = 134217728 (128.0MB)
   used     = 134217496 (127.9997787475586MB)
   free     = 232 (2.2125244140625E-4MB)
   99.99982714653015% used

35196 interned Strings occupying 3705584 bytes.



>jmap -histo:live 4872 | more

num     #instances         #bytes  class name
----------------------------------------------
   1:        383807     7927174496  [C
   2:         73483       75362144  [B
   3:         37445       48975112  [S
   4:        225728       33525512  <constMethodKlass>
   5:        225728       28908976  <methodKlass>
   6:         22880       26050944  <constantPoolKlass>
   7:         22880       17849704  <instanceKlassKlass>
   8:         18483       13895744  <constantPoolCacheKlass>
   9:        380259        9126216  java.lang.String
  10:         55006        6823008  [I
  11:        183952        5886464  java.util.HashMap$Entry
  12:          8410        4666536  <methodDataKlass>
  13:         70378        4516504  [Ljava.lang.Object;
  14:         33151        4145448  [Ljava.util.HashMap$Entry;
  15:         63653        4073792  org.hsqldb.index.NodeAVLDisk
  16:         63553        4067392  org.hsqldb.index.NodeAVLDisk
  17:         70450        3381600  java.util.HashMap
  18:          2466        3175456  [[B
  19:         24281        2970368  java.lang.Class
  20:         67492        2699680  java.util.LinkedHashMap$Entry
  21:          9612        1845504  oracle.jdbc.driver.T4CVarcharAccessor
  22:         37025        1797496  [[I
  23:         24733        1582912  java.net.URL
  24:         18798        1503840  java.lang.reflect.Method
  25:         28179        1352592  org.apache.catalina.loader.ResourceEntry
  26:         37587        1202784  
java.util.concurrent.ConcurrentHashMap$HashEntry
  27:         18883        1057448  java.util.LinkedHashMap
  28:         43620        1046880  java.util.ArrayList
  29:          1384         741824  <objArrayKlassKlass>
  30:           780         723840  oracle.jdbc.driver.T4CPreparedStatement
  31:          9679         696888  java.lang.reflect.Constructor
 32:         28815         691560  org.geotools.feature.NameImpl
  33:         16692         667680  java.lang.ref.SoftReference
  34:         19503         624096  java.util.Hashtable$Entry
  35:         23552         600632  [Z
  36:         10636         595616  
org.geoserver.catalog.impl.AttributeTypeInfoImpl
  37:         17826         558992  [Ljava.lang.String;
  38:         13371         534840  
org.geotools.feature.type.AttributeDescriptorImpl
  39:         10955         525840  org.hsqldb.RowAVLDisk
  40:         10945         525360  org.hsqldb.RowAVLDisk
  41:          6607         513104  [Ljava.util.Hashtable$Entry;
  42:         12757         510280  org.apache.xerces.dom.TextImpl
  43:         12757         510280  
com.sun.org.apache.xerces.internal.dom.TextImpl
  44:         10438         501024  org.geotools.feature.type.AttributeTypeImpl
  45:          7522         481408  org.apache.xerces.dom.ElementNSImpl


Regards,
  Dirk



Von: [email protected] [mailto:[email protected]] Im Auftrag von Andrea 
Aime
Gesendet: Montag, 24. Februar 2014 12:16
An: Wilhelm, Dirk
Cc: [email protected]
Betreff: Re: [Geoserver-users] Jave heap space exception on GetFeatureInfo 
request


How are you connecting to Oracle? JNDI or plain store configuration where you 
give host,
port and connection pool parameters?

It would be quite useful if you could make GeoServer go out of memory and then 
issue a
command like:

jmap -histo:live <processid> | head -25

to see what's using the memory. JMap is available in all JDK distributions, 
some more
info on how to use it here:
http://docs.geoserver.org/latest/en/user/production/troubleshooting.html#jmap

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to