Update-SPDistributedCacheSize

분산 캐시 서비스 전용 메모리 할당을 다시 구성합니다.

Syntax

Update-SPDistributedCacheSize
      [-CacheSizeInMB] <UInt32>
      [-AssignmentCollection <SPAssignmentCollection>]
      [<CommonParameters>]

Description

Update-SPDistributedCacheSize cmdlet을 사용하여 분산 캐시 서비스에 대해 메모리를 할당합니다.

예제

---------------예제---------------

Update-SPDistributedCacheSize -CacheSizeInMB 2048

분산 캐시 크기를 2048MB로 업데이트.

매개 변수

-AssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

참고: Global 매개 변수를 사용하면 모든 개체가 전역 저장소에 포함됩니다. 개체가 즉시 사용되지 않거나 Stop-SPAssignment 명령을 사용하여 삭제되지 않는 경우 메모리 부족 시나리오가 발생할 수 있습니다.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-CacheSizeInMB

Specifies the memory size in megabytes (MB) that you want to allocate to the Distributed Cache service. The default value is 5 percent of total system random access memory (RAM). This value should not be more than 40 percent of total system RAM with a maximum limit of 16 gigabytes (GB).

Type:UInt32
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

입력

System.UInt32

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

출력

System.Object