XMS XMX MaxPermSize yog dab tsi?
XMS XMX MaxPermSize yog dab tsi?

Video: XMS XMX MaxPermSize yog dab tsi?

Video: XMS XMX MaxPermSize yog dab tsi?
Video: JVM options 2024, Kaum ib hlis
Anonim

- Xms - Xmx -XX: MaxPermSize . Peb qhov kev teeb tsa no tswj hwm tus nqi ntawm lub cim xeeb muaj rau JVM thaum xub thawj, qhov siab tshaj plaws ntawm lub cim xeeb uas JVM tuaj yeem loj hlob, thiab thaj chaw sib cais ntawm heap hu ua Permanent Generation space.

Yog li ntawd, XMX thiab XMS txhais li cas?

Tus chij Xmx qhia qhov siab tshaj plaws kev faib pas dej ua ke rau Java virtual tshuab (JVM), thaum Xms qhia txog thawj lub cim xeeb faib pawg. Qhov no txhais tau tias tias koj JVM yuav pib nrog Xms tus nqi ntawm lub cim xeeb thiab yuav siv tau ntau tshaj plaws ntawm Xmx nco npaum li cas.

Tsis tas li ntawd, MaxPermSize yog dab tsi? -XX:PermSize -XX: MaxPermSize yog siv los teem me me rau Permanent Generation. Permanent Generation: Lub Cim Tseem Ceeb yog qhov chaw khaws cov ntaub ntawv hauv chav kawm. Cov no yog cov txiaj ntsig ntawm cov chav kawm sau ua ke thiab JSP nplooj ntawv. Yog hais tias qhov chaw no puv, nws ua rau tag nrho khib nyiab.

Yog li ntawd, XMS thiab XMX yog dab tsi hauv Weblogic?

Xmx - yog qhov max loj ntawm heap. Xms - yog thawj qhov loj ntawm heap.(muab nws tib yam li Xmx ) XX: MaxPermSize - yog siv los tuav qhov cuam tshuam ntawm VM nws tus kheej xws li cov khoom hauv chav kawm thiab cov khoom siv (nws yog ywj siab los ntawm qhov loj me,, muab 1/3 rau 1/4 ntawm qhov Xms qhov loj nyob ntawm koj cov chav kawm loj)

XMS yog dab tsi?

XMS . Stands rau Extended Memory Specification, tus txheej txheem tsim los ntawm AST Research, Intel Corporation, Lotus Development, thiab Microsoft Corporation rau kev siv lub cim xeeb txuas ntxiv thiab DOS qhov chaw nco siab, 64K thaiv tsuas yog siab dua 1MB.

Pom zoo: