aspose file tools*
The moose likes Performance and the fly likes unicode character Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "unicode character" Watch "unicode character" New topic
Author

unicode character

Mario Almeida
Greenhorn

Joined: Sep 13, 2010
Posts: 11
Hi All,

I am new to JBOSS.

In my company we are using jboss 4.2.3 GA

OS: Centos 5.3

java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)


with jmap -histo <pid>

num #instances #bytes class name

----------------------------------------------
1: 3536967 362410584 [C
2: 293153 149313528 [I
3: 2759226 110369040 java.lang.String
4: 228671 96113024 [B
5: 346542 72009480 [Ljava.util.HashMap$Entry;
6: 502284 58950736 [Ljava.lang.Object;
7: 1227524 58921152 java.util.HashMap$Entry
8: 440163 28170432 java.util.LinkedHashMap$Entry
9: 176244 27913928 <constMethodKlass>
10: 176244 21162448 <methodKlass>
11: 17551 19171032 <constantPoolKlass>
12: 127727 16349056 java.lang.reflect.Field
13: 214960 13757440 java.util.HashMap
14: 17551 13621912 <instanceKlassKlass>
15: 88537 13457624 java.lang.reflect.Method
16: 255848 13427296 <symbolKlass>
17: 15437 10964552 <constantPoolCacheKlass>
18: 318353 10187296 java.lang.StringBuilder
19: 148869 9527616 java.util.TreeMap$Entry
20: 115852 9268160 java.util.LinkedHashMap
21: 184275 8864392 [Ljava.lang.String;
22: 3191 8240160 [Ljava.io.ObjectInputStream$HandleTable$HandleList;
23: 7438 5625744 <methodDataKlass>
24: 43418 5508824 [Ljava.util.Hashtable$Entry;
25: 28243 4970768 java.io.ObjectStreamClass
26: 30193 4589336 java.util.GregorianCalendar
27: 74974 4198544 java.io.ObjectStreamClass$WeakClassKey
28: 30544 3665280 sun.util.calendar.Gregorian$Date
29: 45504 3640320 org.apache.tomcat.util.buf.MessageBytes
30: 42673 3493168 [S
31: 30960 3467520 com.sun.xml.bind.v2.model.impl.RuntimeAttributePropertyInfoImpl
32: 61155 3424680 java.io.ObjectStreamField
33: 18455 3395720 java.lang.Class
34: 84118 3364720 java.util.ArrayList

.....etc

[C as per my understand it means Unicode character

If it is Unicode character, how to find why the bytes count is so high?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

[C is the name of char[].class. So it's just the content of your Strings.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unicode character
 
Similar Threads
Running SpringTravel sample application for STS 2.3.2 & eclipse-rcp-galileo-SR2-win32
Multi CPU configuration for a webapplication deployed on tomcat
Writing and reading string to/from a file
(JRE) HeapDumpOnOutOfMemoryError Not Working...
Eclipse Windows 7 (64) bit Does'nt Start.