Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 3GB (0.06 sec)

  1. src/runtime/memmove_linux_amd64_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    import (
    	"os"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    // TestMemmoveOverflow maps 3GB of memory and calls memmove on
    // the corresponding slice.
    func TestMemmoveOverflow(t *testing.T) {
    	t.Parallel()
    	// Create a temporary file.
    	tmp, err := os.CreateTemp("", "go-memmovetest")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:48:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/helper/helpers_test.go

    		{
    			size:     1024,
    			expected: "1KB",
    			wantErr:  false,
    		},
    		{
    			size:     33554432,
    			expected: "32MB",
    			wantErr:  false,
    		},
    		{
    			size:     3221225472,
    			expected: "3GB",
    			wantErr:  false,
    		},
    		{
    			size:     1024 * 1024 * 1023 * 3,
    			expected: "3069MB",
    			wantErr:  true,
    		},
    	}
    	for _, test := range tests {
    		size := test.size
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. docs/ja/docs/deployment/concepts.md

    ### サーバーメモリー
    
    例えば、あなたのコードが **1GBのサイズの機械学習モデル**をロードする場合、APIで1つのプロセスを実行すると、少なくとも1GBのRAMを消費します。
    
    また、**4つのプロセス**(4つのワーカー)を起動すると、それぞれが1GBのRAMを消費します。つまり、合計でAPIは**4GBのRAM**を消費することになります。
    
    リモートサーバーや仮想マシンのRAMが3GBしかない場合、4GB以上のRAMをロードしようとすると問題が発生します。🚨
    
    ### 複数プロセス - 例
    
    この例では、2つの**ワーカー・プロセス**を起動し制御する**マネージャー・ プロセス**があります。
    
    このマネージャー・ プロセスは、おそらくIPの**ポート**でリッスンしているものです。そして、すべての通信をワーカー・プロセスに転送します。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top