You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -91,18 +77,21 @@ timeout specified in the task settings.`,
91
77
{
92
78
displayName: 'Memory',
93
79
name: 'memory',
94
-
description: `Memory limit for the run, in megabytes. The amount of memory can be set
95
-
to a power of 2 with a minimum of 128. By default, the run uses a memory
96
-
limit specified in the task settings.`,
97
-
default: null,
98
-
type: 'number',
99
-
routing: {
100
-
request: {
101
-
qs: {
102
-
memory: '={{ $value }}',
103
-
},
104
-
},
105
-
},
80
+
description:
81
+
'Memory limit for the run, in megabytes. The amount of memory can be set to one of the available options. By default, the run uses a memory limit specified in the task settings.',
82
+
default: 1024,
83
+
type: 'options',
84
+
options: [
85
+
{name: '128 MB',value: 128},
86
+
{name: '256 MB',value: 256},
87
+
{name: '512 MB',value: 512},
88
+
{name: '1024 MB (1 GB)',value: 1024},
89
+
{name: '2048 MB (2 GB)',value: 2048},
90
+
{name: '4096 MB (4 GB)',value: 4096},
91
+
{name: '8192 MB (8 GB)',value: 8192},
92
+
{name: '16384 MB (16 GB)',value: 16384},
93
+
{name: '32768 MB (32 GB)',value: 32768},
94
+
],
106
95
displayOptions: {
107
96
show: {
108
97
resource: ['Actor tasks'],
@@ -118,13 +107,6 @@ number. By default, the run uses the build specified in the task
Copy file name to clipboardExpand all lines: nodes/Apify/resources/actors/run-actor/properties.ts
+15-5Lines changed: 15 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -58,11 +58,21 @@ timeout specified in the default run configuration for the Actor.`,
58
58
{
59
59
displayName: 'Memory',
60
60
name: 'memory',
61
-
description: `Memory limit for the run, in megabytes. The amount of memory can be set
62
-
to a power of 2 with a minimum of 128. By default, the run uses a memory
63
-
limit specified in the default run configuration for the Actor.`,
64
-
default: null,
65
-
type: 'number',
61
+
description:
62
+
'Memory limit for the run, in megabytes. The amount of memory can be set to one of the available options. By default, the run uses a memory limit specified in the default run configuration for the Actor.',
0 commit comments