锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩电影中文字幕一区,亚洲v日韩v综合v精品v,日韩五码电影http://www.aygfsteel.com/Todd/category/44352.html璁頒綇鈥樿閬楀繕鑰呪欑殑鍚箟錛屾垜浠棦闈炵敓鑰呬篃闈炴鑰咃紝鎴戜滑灝嗚媧葷潃鐨勫拰姝誨幓鐨勪漢閬楀繕銆?lt;br />鎴戜滑鍥炲埌浜嗘浘緇忓憡鍒殑涓栫晫涓婏紝浣嗘槸鍗存案榪滄棤娉曞洖鍒版垜浠浘緇忔椿鐫鐨勯偅浜涙棩瀛愶紝<br />姘歌繙鏃犳硶鍥炲埌閭d簺鎴戜滑鏇劇粡鐖辮繃鐨勪漢鐨勮韓杈廣傛垜浠槸瀛樺湪涔熸槸璇呭拻錛?lt;br />鍥犳鎴戜滑閬楀繕榪囧幓錛屽茍涓旇榪囧幓閬楀繕... zh-cnWed, 19 Oct 2011 02:09:55 GMTWed, 19 Oct 2011 02:09:55 GMT60java heap space錛?PermGen space 閿欒 浣跨敤jvisualvm鐩戞祴璁劇疆鍚堢悊鍊?/title>http://www.aygfsteel.com/Todd/archive/2011/10/18/361543.htmlToddToddTue, 18 Oct 2011 14:16:00 GMThttp://www.aygfsteel.com/Todd/archive/2011/10/18/361543.htmlhttp://www.aygfsteel.com/Todd/comments/361543.htmlhttp://www.aygfsteel.com/Todd/archive/2011/10/18/361543.html#Feedback0http://www.aygfsteel.com/Todd/comments/commentRss/361543.htmlhttp://www.aygfsteel.com/Todd/services/trackbacks/361543.html闇鍔犲ぇ tomcat鍚姩欏瑰弬鏁?Xmx 鍜?nbsp;XX:MaxPermSize PermGen鏄寚鍐呭瓨鐨勬案涔呬繚瀛樺尯鍩燂紝瀹冪敤浜庡瓨鏀綾lass鍜?method 瀵硅薄錛屼互鍙奡tring 瀵硅薄 錛坰un鍘熸枃錛歱ermanent generation is the area of the heap where class and method objects are stored. If an application loads a very large number of classes, then the size of the permanent generation might need to be increased using the -XX:MaxPermSize option.
Interned java.lang.String objects are also stored in the permanent generation. The java.lang.String class maintains a pool of strings. When the intern method is invoked, the method checks the pool to see if an equal string is already in the pool. If there is, then the intern method returns it; otherwise it adds the string to the pool. In more precise terms, the java.lang.String.intern method is used to obtain the canonical representation of the string; the result is a reference to the same class instance that would be returned if that string appeared as a literal. If an application interns a huge number of strings, the permanent generation might need to be increased from its default setting.
When this kind of error occurs, the text String.intern or ClassLoader.defineClass might appear near the top of the stack trace that is printed.
The jmap -permgen command prints statistics for the objects in the permanent generation, including information about internalized String instances. See 2.6.4 Getting Information on the Permanent Generation.
錛?br />PermGen鍙堟槸涓涓壒孌婂唴瀛樺尯鍩燂細Classloader 鍔犺澆鐨勪笢涓滄槸涓嶈兘鍥炴敹鐨勶紝瀹冧滑鏀懼湪PermGen涓?br />錛坱omcat鍘熸枃錛歐hy does the memory usage increase when I redeploy a web application? Because the Classloader (and the Class objects it loaded) cannot be recycled. They are stored in the permanent heap generation by the JVM, and when you redepoy a new class loader is created, which loads another copy of all these classes. This can cause OufOfMemoryErrors eventually.錛?br /> 鍥炲埌鎴戠殑闂鏉ワ紝鎵撳紑%java_home%bin\jvisualvm.exe (jdk6浠ヤ笂鏈? 鏌ョ湅tomcat鐨勫唴瀛樻儏鍐碉紝鐐瑰嚮tomcat鏍囩涓媘onitor , 褰搖sed heap = max heap used PermGen = max PermGen 鏃秚omcat榪樺湪鍚姩涓紝涓浼氬氨鎶ラ敊錛?br />鐢變簬姝ゅ墠宸茬粡灝唌yeclipse涓璼erver->tomcat->tomcatx.x->jdk鐨勫弬鏁拌緗垚-Xms64m -Xmx512m -XX:MaxPermSize=80m 浣嗘槸monitor 鐢婚潰涓璵ax heap涓?256M 鐐瑰嚮overview鏍囩,鍙戠幇jvm鍙傛暟濡備笅錛?br />-Xms64m -Xmx512m -XX:MaxPermSize=80m -Xms64m -Xmx256m
Java version 1.6.0_13 Java HotSpot(TM) Client VM 11.3-b02 Sun Microsystems Inc.
Direct access using member field: 47 125 47 46 46 average time = 66 ms. Reference access to member field: 109 109 110 94 109 average time = 106 ms. Reflection access to member field: 13094 12984 13063 13062 13094 average time = 13051 ms.
Java version 1.6.0_13 Java HotSpot(TM) Client VM 11.3-b02 Sun Microsystems Inc.
Direct call using member field: 47 31 109 109 31 average time = 70 ms. Direct call using passed value: 16 16 16 31 15 average time = 20 ms. Call to object using member field: 46 47 47 47 32 average time = 43 ms. Call to object using passed value: 15 16 31 16 16 average time = 20 ms. Reflection call using member field: 812 782 844 844 844 average time = 829 ms. Reflection call using passed value: 938 953 954 1031 953 average time = 973 ms.
Java version 1.6.0_13 Java HotSpot(TM) Client VM 11.3-b02 Sun Microsystems Inc.
Direct Object creation: 62 47 78 32 93 average time = 63 ms. Reflection Object creation: 125 94 94 109 187 average time = 121 ms. Direct byte[8] creation: 125 187 94 172 94 average time = 137 ms. Reflection byte[8] creation: 266 171 187 188 219 average time = 191 ms. Direct byte[64] creation: 250 172 156 125 203 average time = 164 ms. Reflection byte[64] creation: 281 219 203 203 219 average time = 211 ms.
]]>eclipse failed to create the java virtual machine http://www.aygfsteel.com/Todd/archive/2011/05/05/349640.htmlToddToddThu, 05 May 2011 14:46:00 GMThttp://www.aygfsteel.com/Todd/archive/2011/05/05/349640.htmlhttp://www.aygfsteel.com/Todd/comments/349640.htmlhttp://www.aygfsteel.com/Todd/archive/2011/05/05/349640.html#Feedback0http://www.aygfsteel.com/Todd/comments/commentRss/349640.htmlhttp://www.aygfsteel.com/Todd/services/trackbacks/349640.htmlQ:瑁呬簡鏂扮殑jdk鍚庯紝鎵撳紑eclipse璺沖嚭failed to create the java virtual machine
A:鎵撳紑 $Eclipse_Home/eclipse.ini鎵懼埌涓嬮潰涓琛?br />
-Dosgi.requiredJavaVersion=1.5
鏀規垚鏂拌鐜鍙橀噺涓媕dk version
-Dosgi.requiredJavaVersion=1.6