Sida loo kordhiyo Qoondaynta xusuusta Tomcat
Haddii aad la kulmeyso arrimaha waxqabadka Tomcat , sababta caadiga ah waa la'aanta JVM ( Mashiinka Virtual Machine(Java Virtual Machine) ) qoondaynta xusuusta. Meesha ugu sarraysa ee cabbirka ugu badnaan waa 64MB ama 128MB. Waxaad kordhin kartaa cabbirka ugu badan ee codsiyada adiga oo dejinaya cabbirka -Xmx(-Xmx) JVM.
Tusaale ahaan, -Xmx512m waxa(-Xmx512m) ay ogolanaysaa ugu badnaan 512MB tuulo in loo qoondeeyo JVM . Si aad u hagaajiso cabbirkan, midig guji sumadda Kumbuyuutarkayga(My Computer) , ka dibna dooro tab Advanced . Guji badhanka Isbedelka Deegaanka :(Environment Variables)
Samee doorsoomiyaha CATALINA_OPTS , oo deji qiimaha la rabo, tusaale ahaan " -server -Xmx256m ".
Haddii aad ku shaqeyso Linux ama UNIX , aad terminalka oo isticmaal akoontada tomcat adiga oo isticmaalaya sudo su –tomcat ama magac akoon oo u dhigma iyadoo ku xiran habkaaga. Waa inaad isticmaashaa akoonka loo isticmaalo socodsiinta Tomcat .
Hubi labada CATALINA_OPTS iyo JAVA_OPTS doorsoomayaasha deegaanka. U deji doorsoomayaasha deegaanka qiime sare. Tusaale ahaan, haddii doorsoomaha JAVA_OPTS uu ka kooban yahay ugu yaraan 64MB iyo 128MB cabbirka ugu sarreeya, u kordhi 128MB iyo 256MB qiimayaal.
OLD: JAVA_OPTS="-Xms64m -Xmx128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000" OLD: JAVA_OPTS="-Xms128m -Xmx256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
Hubi(Make) inaad isticmaasho qiimaha ugu badan oo ka yar cabbirka RAM-kaaga jireed, haddii kale waxaa lagu dhejin doonaa disk-ga adag, taas oo keeni karta arrimo badan oo waxqabad ah.
Si aad u hubiso in goobaha cusub ay hirgelayaan, aad URL -ka server-kaaga Tomcat ka bacdina guji Status :
Waa inaad ku aragto qiime cusub hoosta qaybta JVM :
Haddii aadan ku arkin xusuusta JVM ee la cusboonaysiiyay ee bogga, isku day inaad dib u bilowdo Tomcat maadaama isbeddellada cabbirku ay u baahan yihiin Tomcat dib u bilaabo ka hor intaysan dhaqan gelin. Tani waa inay hagaajisaa arrimahaaga waxqabadka liita ee Tomcat iyo sidoo kale ka fogow dhibaatooyinka xusuusta ee qoraallada dhinaca serverka. Haddii aad su'aalo qabto, noogu soo sheeg faallooyinka. Ku raaxayso!
Related posts
Sida loo muujiyo Steam-ku-dhisan FPS Counter
Sida loo hagaajiyo 'Filename aad buu u dheer yahay' arrinta Windows
Sida loo habeeyo Quudinta Fiidyaha lagu taliyay ee YouTube
Sida Looga Ilaaliyo SIM Card-ka Taleefankaga Khatarta
Ku masax xaaqid sawirada GIMP's Heal Selection Tool
Soo hel Domain's Backlinks, Redirects, iyo IP-yada La Wadaago
Sida Loo Bedelo Wakiilka Isticmaalaha Browser-kaaga Adoo Adoon Ku Xidhin Kordhinta
CD-ga ama DVD Drive-ku ma saarayo mana furmi doono?
Sida Loo cusboonaysiiyo Software-kaaga PC si toos ah
Sida loo cusboonaysiiyo Raspberry Pi
Sida Loo Arkiyo Bogagga Cajiska Ah Iyo Faylasha Ka Soo Baxa Browserkaaga
Sida loo soo dejiyo Google Chrome Offline (Standalone) Rakibaye
Sida loo tirtiro galka Windows.old gudaha Windows 7/8/10
7 Farsamo Farsamo Kobcinta SEO ee Mareegaha Kasta
Dib-u-eegis Buugaag - Hagaha sida-Geek-ga loo barto ee Windows 8
Sida loo furo faylasha DDS gudaha Windows 10
Sida Warshada dib loogu habeeyo Xbox One ama Xbox Series X
Sida loo furo File quful marka barnaamij kale la isticmaalayo
Sida loo sameeyo boggaga Master-ka ee Adobe InDesign CC
Demi Koontaroolada Koontada Isticmaalaha (UAC) ee Codsi Gaar ah