can cai
11/09/2025, 9:29 AMfrom daft import context
import daft
daft.context.set_runner_ray(noop_if_initialized=True)
context.set_execution_config(use_legacy_ray_runner=True)
df = (
daft.read_parquet("/mnt/code/all_github_repos/repo_infos/**/*.parquet")
.select(
daft.col("content")["full_name"].alias("repo_name"),
daft.col("content")["stargazers_count"].alias("stars"),
)
.with_column(
"repo_name_normalized",
daft.col("repo_name").str.replace("[./\-]", "_").str.lower(),
)
.filter("stars > 0")
.select("repo_name_normalized", "repo_name", "stars")
)
v1v2 = daft.read_parquet(
"/mnt/code/repo_level_code/1_repo_name_dedup/**/*.parquet"
)
df.join(
v1v2, on=df["repo_name_normalized"] == v1v2["repo_name_normalized"], how="anti"
).write_parquet("/mnt/code/all_github_repos/repos_sub_v1v2_sortby_star_tmp22/")
memory profile from austin-tui:
Austin TUI Memory Profile CPU 146% ████████ MEM4658M ████████ 1/2
_________ Command python /tmp/test/debug.py
⎝__⎠ ⎝__⎠ Python 3.10.15 PID 710426 PID:TID 710426:0:710816
Samples 10647 :timer_clock: 26" Threshold 0%
OWN TOTAL %OWN %TOTAL FUNCTION
0B 3604M 0.0% 77.4% _bootstrap (/home/ray/anaconda3/lib/python3.10/threading.py:973) │
0B 3604M 0.0% 77.4% _bootstrap_inner (/home/ray/anaconda3/lib/python3.10/threading.py:1016) │
0B 3604M 0.0% 77.4% run (/home/ray/anaconda3/lib/python3.10/threading.py:953) │
3M 2352M 0.1% 50.5% _run_plan (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_runner.py:1451) │
0B 2348M 0.0% 50.4% _dispatch_tasks (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_runner.py:1294) │
5M 1983M 0.1% 42.6% _build_partitions (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_runner.py:1567) │
0B 1978M 0.0% 42.5% remote (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_tracing.py:627) │
160K 1978M 0.0% 42.5% remote (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/remote_function.py:293) │
0B 1978M 0.0% 42.5% auto_init_wrapper (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/_private/auto_init_hook.py:22) │
264K 1978M 0.0% 42.5% _invocation_remote_span (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py:31│
0B 1977M 0.0% 42.5% _remote (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/remote_function.py:525) │
1657M 1977M 35.6% 42.5% invocation (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/remote_function.py:490) │
200K 319M 0.0% 6.9% serialize (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/_private/serialization.py:672) │
624K 293M 0.0% 6.3% _serialize_to_msgpack (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/_private/serialization.py:605) │
1M 291M 0.0% 6.3% _serialize_to_pickle5 (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/_private/serialization.py:547) │
0B 289M 0.0% 6.2% dumps (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle.py:1479) │
249M 288M 5.4% 6.2% dump (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle.py:1245) │
Austin TUI Memory Profile CPU 118% ████████ MEM5716M ████████ 1/2
_________ Command python /tmp/test/debug.py
⎝__⎠ ⎝__⎠ Python 3.10.15 PID 710426 PID:TID 710426:0:710816
Samples 16954 :timer_clock: 37" Threshold 0%
OWN TOTAL %OWN %TOTAL FUNCTION
0B 5880M 0.0% 100.0% _bootstrap (/home/ray/anaconda3/lib/python3.10/threading.py:973) │
0B 5880M 0.0% 100.0% _bootstrap_inner (/home/ray/anaconda3/lib/python3.10/threading.py:1016) │
0B 5880M 0.0% 100.0% run (/home/ray/anaconda3/lib/python3.10/threading.py:953) │
348K 1101M 0.0% 18.7% _run_plan (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_runner.py:1476) │
0B 700M 0.0% 11.9% _await_tasks (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_runner.py:1319) │
0B 700M 0.0% 11.9% auto_init_wrapper (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/_private/auto_init_hook.py:22) │
0B 700M 0.0% 11.9% wrapper (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/_private/client_mode_hook.py:104) │
501M 501M 8.5% 8.5% wait (/root/micromamba/envs/user_env/lib/python3.10/site-packages/ray/_private/worker.py:3113) │
Austin TUI Memory Profile CPU 438% ████████ MEM7293M ████████ 1/3
_________ Command python /tmp/test/debug.py
⎝__⎠ ⎝__⎠ Python 3.10.15 PID 710426 PID:TID 710426:0:710816
Samples 27223 :timer_clock: 55" Threshold 0%
OWN TOTAL %OWN %TOTAL FUNCTION
0B 8113M 0.0% 100.0% _bootstrap (/home/ray/anaconda3/lib/python3.10/threading.py:973) │
0B 8113M 0.0% 100.0% _bootstrap_inner (/home/ray/anaconda3/lib/python3.10/threading.py:1016) │
0B 8113M 0.0% 100.0% run (/home/ray/anaconda3/lib/python3.10/threading.py:953) │
0B 676M 0.0% 9.3% _run_plan (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_runner.py:1434) │
212K 676M 0.0% 9.3% _construct_dispatch_batch (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_runner.py:1236) │
0B 674M 0.0% 9.3% __next__ (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_tracing.py:639) │
40K 673M 0.0% 9.2% __iter__ (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:1899) │
0B 673M 0.0% 9.2% file_write (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:134) │
0B 673M 0.0% 9.2% <genexpr> (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:134) │
0B 673M 0.0% 9.2% pipeline_instruction (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:243) │
0B 673M 0.0% 9.2% <genexpr> (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:243) │
0B 673M 0.0% 9.2% hash_join (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:397) │
0B 673M 0.0% 9.2% reduce (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:1616) │
0B 673M 0.0% 9.2% pipeline_instruction (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:243) │
264K 663M 0.0% 9.1% <genexpr> (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/physical_plan.py:244) │
324K 663M 0.0% 9.1% add_instruction (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/execution_step.py:146) │
0B 662M 0.0% 9.1% run_partial_metadata (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/execution_step.py:1124) │
302M 631M 4.1% 8.7% <listcomp> (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/execution_step.py:1125) │
Austin TUI Memory Profile CPU 110% ███▇████ MEM1..1M ████████ 1/3
_________ Command python /tmp/test/debug.py
⎝__⎠ ⎝__⎠ Python 3.10.15 PID 710426 PID:TID 710426:0:710816
Samples 74891 :timer_clock: 2'08" Threshold 0%
OWN TOTAL %OWN %TOTAL FUNCTION
0B 19478M 0.0% 100.0% _bootstrap (/home/ray/anaconda3/lib/python3.10/threading.py:973) │
0B 19478M 0.0% 100.0% _bootstrap_inner (/home/ray/anaconda3/lib/python3.10/threading.py:1016) │
0B 19478M 0.0% 100.0% run (/home/ray/anaconda3/lib/python3.10/threading.py:953) │
248K 854M 0.0% 5.2% _run_plan (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/ray_runner.py:1487) │
0B 853M 0.0% 5.2% set_done (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/execution_step.py:80) │
0B 852M 0.0% 5.2% cache_metadata (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/execution_step.py:301) │
7M 849M 0.0% 5.2% <listcomp> (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/execution/execution_step.py:302) │
9M 19M 0.1% 0.1% merge_with_partial (/root/micromamba/envs/user_env/lib/python3.10/site-packages/daft/runners/partitioning.py:100) │
6M 6M 0.0% 0.0% __init__ (<string>:5) │can cai
11/09/2025, 3:53 PMObjectType ObjectCount ObjectSize(MB) ObjectAvgSize(B)
----------------------------------------------------------------------
PartitionMetadata 1,742,158 79.75 48.0
dict 146,829 29.99 214.2
deque 293 27.01 96646.1
list 105,195 10.77 107.4
function 52,905 7.27 144.0
type 6,373 6.45 1061.3
tuple 35,128 2.07 61.8
PartialPartitionMetadata 31,111 1.42 48.0
RayMaterializedResult 31,111 1.42 48.0
set 2,122 1.08 531.5
ReferenceType 10,552 0.72 72.0
PartitionMetadataAccessor 15,690 0.72 48.0
SingleOutputPartitionTask 15,689 0.72 48.0
ScanWithTask 15,423 0.71 48.0
MicroPartition 15,423 0.71 48.0
ReduceMergeAndSort 15,422 0.71 48.0
cython_function_or_method 3,017 0.60 208.0
ABCMeta 575 0.58 1060.8
Name 12,137 0.56 48.0
defaultdict 25 0.54 22748.2
GeneratedProtocolMessageType 566 0.49 904.0
getset_descriptor 7,799 0.48 64.0
frozenset 1,368 0.46 351.7
method 5,866 0.36 64.0
cell 8,899 0.34 40.0
Pattern 493 0.30 644.8
wrapper_descriptor 3,995 0.27 72.0
method_descriptor 3,861 0.27 72.0
builtin_function_or_method 3,560 0.24 72.0
OrderedDict 436 0.21 513.5
MetaHasTraits 217 0.21 1021.5
Attribute 3,890 0.19 52.0
property 2,483 0.19 80.0
module 2,692 0.18 72.0
member_descriptor 2,919 0.18 64.0
EnumMeta 159 0.16 1066.7
Constant 3,283 0.15 48.0
Call 3,075 0.14 48.0
ModuleSpec 2,682 0.12 48.0
_ProtocolMeta 123 0.12 1046.0
SourceFileLoader 2,503 0.11 48.0
ForwardRef 1,199 0.11 96.0
fused_cython_function 493 0.11 224.0
Parameter 1,713 0.10 64.0
_TypedDictMeta 100 0.10 1072.0
Field 880 0.10 119.9
arg 1,617 0.07 48.0
Assign 1,506 0.07 48.0
classmethod 1,439 0.07 48.0
LazySet 2 0.06 32992.0
i printed the object count and bytes by pyrasite, however, they take up very little memory, so I suspect that it might be due to excessive off-heap memory usage from ray.
i wondered is there any way to clearly track what is taking up so much memory? Thank you!can cai
11/10/2025, 2:04 AMColin Ho
11/10/2025, 6:54 AMcan cai
11/10/2025, 9:09 AMColin Ho
11/10/2025, 9:09 AMcan cai
11/10/2025, 9:12 AMColin Ho
11/10/2025, 12:42 PMcan cai
11/14/2025, 8:04 AMCALLER_MEMORY_USAGE_PER_OBJECT_REF, but the result still occupied a large amount of memory, and the memory increased gradually.Colin Ho
11/14/2025, 8:10 AMColin Ho
11/14/2025, 8:11 AMcan cai
11/14/2025, 8:23 AMColin Ho
11/14/2025, 8:24 AMcan cai
11/14/2025, 8:29 AMColin Ho
11/14/2025, 8:30 AMColin Ho
11/14/2025, 8:31 AMdf.repartition(150, "join_key) before the join on both sides, you can control itColin Ho
11/14/2025, 8:32 AMcan cai
11/14/2025, 8:39 AMcan cai
11/14/2025, 8:42 AMColin Ho
11/14/2025, 8:51 AMcan cai
11/14/2025, 8:57 AMColin Ho
11/14/2025, 11:38 PMColin Ho
11/14/2025, 11:38 PMcan cai
11/16/2025, 10:53 AMcan cai
11/16/2025, 10:56 AMcan cai
11/17/2025, 3:34 AMfrom daft import context
import daft
daft.context.set_runner_ray(noop_if_initialized=True)
df = (
daft.read_parquet("/mnt/test/**/*.parquet")
.repartition(5000)
.select(
daft.col("content")["full_name"].alias("repo_name"),
daft.col("content")["stargazers_count"].alias("stars"),
)
.with_column(
"repo_name_normalized",
daft.col("repo_name").str.replace("[./\-]", "_").str.lower(),
)
.filter("stars > 0")
.select("repo_name_normalized", "repo_name", "stars")
)
v1v2 = daft.read_parquet(
"/mnt/test/1_repo_name_dedup/**/*.parquet"
).repartition(5000)
df.join(
v1v2, on=df["repo_name_normalized"] == v1v2["repo_name_normalized"], how="anti"
).count_rows()
The logic of my code is like this: I performed the repartition operation in advance, but the number of tasks running simultaneously is very small, while the number of ray worker nodes is very large. I'm curious why this leads to such a low degree of parallelism?
(pid=24974) PhysicalScan 0: 0%| | 0.00/1.00 [00:00<?, ?it/s]
(pid=24974) PhysicalScan 1: 0%| | 0.00/1.00 [00:00<?, ?it/s]
(pid=24974) InMemoryScan->Repartition 2: 0%| | 0.00/1.00 [00:00<?, ?it/s]
(pid=24974) InMemoryScan 3: 0%| | 0.00/1.00 [00:00<?, ?it/s]can cai
11/17/2025, 3:35 AMColin Ho
11/17/2025, 1:15 PMdf.explain(True)can cai
11/18/2025, 11:47 AM== Physical Plan ==
* Project: col(2: repo_name_normalized), col(0: repo_name), col(1: stars)
| Resource request = None
|
* Hash Join
| Left on: col(2: repo_name_normalized) == col(2: repo_name_normalized)
| Right on: col(0: repo_name_normalized) == col(0: repo_name_normalized)
|\
| * Repartition: Hash
| | Num partitions = Some(5000)
| | By = col(0: repo_name_normalized) == col(0: repo_name_normalized)
| |
| * Pre-Shuffle Merge
| | Threshold: 1073741824
| |
| * Repartition: Random
| | Num partitions = Some(5000)
| |
| * Pre-Shuffle Merge
| | Threshold: 1073741824
| |
| * ScanTaskSource:
| | Num Scan Tasks = 271
| | Estimated Scan Bytes = 5317950853
| | Pushdowns: {projection: [repo_name_normalized], filter:
| | not(is_null(col(repo_name_normalized) == col(repo_name_normalized)))}
| | Schema: {repo_name_normalized#Utf8, repo_name#Utf8}
| | Scan Tasks: [
| | {File {file:///mnt/test//v1/part-00000-cc7097a6-3100-4933-ac2c-
| | 9050f71d73f4-c000.snappy.parquet}}
| | {File {file:///mnt/test//v1/part-00001-cc7097a6-3100-4933-ac2c-
| | 9050f71d73f4-c000.snappy.parquet}}
| | {File {file:///mnt/test//v1/part-00002-cc7097a6-3100-4933-ac2c-
| | 9050f71d73f4-c000.snappy.parquet}}
| | ...
| | {File {file:///mnt/test//v2/part-00236-5fb09fd6-1cbf-471f-9544-
| | b92a0f18d8b0-c000.snappy.parquet}}
| | {File {file:///mnt/test//v2/part-00237-5fb09fd6-1cbf-471f-9544-
| | b92a0f18d8b0-c000.snappy.parquet}}
| | {File {file:///mnt/test//v2/part-00238-5fb09fd6-1cbf-471f-9544-
| | b92a0f18d8b0-c000.snappy.parquet}}
| | ]
|
* Repartition: Hash
| Num partitions = Some(5000)
| By = col(2: repo_name_normalized) == col(2: repo_name_normalized)
|
* Pre-Shuffle Merge
| Threshold: 1073741824
|
* Project: col(0: repo_name), col(1: stars), lower(replace(col(0: repo_name),
| lit("[./\-]"), lit("_"))) as repo_name_normalized
| Resource request = None
|
* Filter: col(1: stars) > lit(0)
|
* Project: get(col(0: content)) as repo_name, get(col(0: content)) as stars
| Resource request = None
|
* Repartition: Random
| Num partitions = Some(5000)
|
* Pre-Shuffle Merge
| Threshold: 1073741824
|
* ScanTaskSource:
| Num Scan Tasks = 119504
| Estimated Scan Bytes = 418478051574
| Schema: {content#Struct([Field { name: "allow_forking", dtype: Boolean,
| metadata: {} }, Field { name: "archive_url", dtype: Utf8, metadata: {} },
| Field { name: "archived", dtype: Boolean, metadata: {} }, Field { name:
| "assignees_url", dtype: Utf8, metadata: {} }, Field { name: "blobs_url", dtype:
| Utf8, metadata: {} }, Field { name: "branches_url", dtype: Utf8, metadata:
| {} }, Field { name: "clone_url", dtype: Utf8, metadata: {} }, Field { name:
| "collaborators_url", dtype: Utf8, metadata: {} }, Field { name: "comments_url",
| dtype: Utf8, metadata: {} }, Field { name: "commits_url", dtype: Utf8, metadata:
| {} }, Field { name: "compare_url", dtype: Utf8, metadata: {} }, Field { name:
| "contents_url", dtype: Utf8, metadata: {} }, Field { name: "contributors_url",
| dtype: Utf8, metadata: {} }, Field { name: "created_at", dtype: Utf8,
| metadata: {} }, Field { name: "default_branch", dtype: Utf8, metadata: {} },
| Field { name: "deployments_url", dtype: Utf8, metadata: {} }, Field { name:
| "description", dtype: Utf8, metadata: {} }, Field { name: "disabled", dtype:
| Boolean, metadata: {} }, Field { name: "downloads_url", dtype: Utf8, metadata:
| {} }, Field { name: "events_url", dtype: Utf8, metadata: {} }, Field { name:
| "fork", dtype: Boolean, metadata: {} }, Field { name: "forks", dtype: Int64,
| metadata: {} }, Field { name: "forks_count", dtype: Int64, metadata: {} }, Field
| { name: "forks_url", dtype: Utf8, metadata: {} }, Field { name: "full_name",
| dtype: Utf8, metadata: {} }, Field { name: "git_commits_url", dtype: Utf8,
| metadata: {} }, Field { name: "git_refs_url", dtype: Utf8, metadata: {} },
| Field { name: "git_tags_url", dtype: Utf8, metadata: {} }, Field { name:
| "git_url", dtype: Utf8, metadata: {} }, Field { name: "has_discussions",
| dtype: Boolean, metadata: {} }, Field { name: "has_downloads", dtype: Boolean,
| metadata: {} }, Field { name: "has_issues", dtype: Boolean, metadata: {} },
| Field { name: "has_pages", dtype: Boolean, metadata: {} }, Field { name:
| "has_projects", dtype: Boolean, metadata: {} }, Field { name: "has_wiki",
| dtype: Boolean, metadata: {} }, Field { name: "homepage", dtype: Utf8, metadata:
| {} }, Field { name: "hooks_url", dtype: Utf8, metadata: {} }, Field { name:
| "html_url", dtype: Utf8, metadata: {} }, Field { name: "id", dtype: Int64,
| metadata: {} }, Field { name: "is_template", dtype: Boolean, metadata: {} },
| Field { name: "issue_comment_url", dtype: Utf8, metadata: {} }, Field { name:
| "issue_events_url", dtype: Utf8, metadata: {} }, Field { name: "issues_url",
| dtype: Utf8, metadata: {} }, Field { name: "keys_url", dtype: Utf8, metadata:
| {} }, Field { name: "labels_url", dtype: Utf8, metadata: {} }, Field { name:
| "language", dtype: Utf8, metadata: {} }, Field { name: "languages_url",
| dtype: Utf8, metadata: {} }, Field { name: "license", dtype: Struct([Field
| { name: "key", dtype: Utf8, metadata: {} }, Field { name: "name", dtype: Utf8,
| metadata: {} }, Field { name: "node_id", dtype: Utf8, metadata: {} }, Field
| { name: "spdx_id", dtype: Utf8, metadata: {} }, Field { name: "url", dtype:
| Utf8, metadata: {} }]), metadata: {} }, Field { name: "merges_url", dtype:
| Utf8, metadata: {} }, Field { name: "milestones_url", dtype: Utf8, metadata:
| {} }, Field { name: "mirror_url", dtype: Utf8, metadata: {} }, Field { name:
| "name", dtype: Utf8, metadata: {} }, Field { name: "node_id", dtype: Utf8,
| metadata: {} }, Field { name: "notifications_url", dtype: Utf8, metadata:
| {} }, Field { name: "open_issues", dtype: Int64, metadata: {} }, Field { name:
| "open_issues_count", dtype: Int64, metadata: {} }, Field { name: "owner", dtype:
| Struct([Field { name: "avatar_url", dtype: Utf8, metadata: {} }, Field { name:
| "events_url", dtype: Utf8, metadata: {} }, Field { name: "followers_url", dtype:
| Utf8, metadata: {} }, Field { name: "following_url", dtype: Utf8, metadata:
| {} }, Field { name: "gists_url", dtype: Utf8, metadata: {} }, Field { name:
| "gravatar_id", dtype: Utf8, metadata: {} }, Field { name: "html_url", dtype:
| Utf8, metadata: {} }, Field { name: "id", dtype: Int64, metadata: {} }, Field
| { name: "login", dtype: Utf8, metadata: {} }, Field { name: "node_id", dtype:
| Utf8, metadata: {} }, Field { name: "organizations_url", dtype: Utf8, metadata:
| {} }, Field { name: "received_events_url", dtype: Utf8, metadata: {} }, Field
| { name: "repos_url", dtype: Utf8, metadata: {} }, Field { name: "site_admin",
| dtype: Boolean, metadata: {} }, Field { name: "starred_url", dtype: Utf8,
| metadata: {} }, Field { name: "subscriptions_url", dtype: Utf8, metadata:
| {} }, Field { name: "type", dtype: Utf8, metadata: {} }, Field { name: "url",
| dtype: Utf8, metadata: {} }, Field { name: "user_view_type", dtype: Utf8,
| metadata: {} }]), metadata: {} }, Field { name: "private", dtype: Boolean,
| metadata: {} }, Field { name: "pulls_url", dtype: Utf8, metadata: {} }, Field
| { name: "pushed_at", dtype: Utf8, metadata: {} }, Field { name: "releases_url",
| dtype: Utf8, metadata: {} }, Field { name: "score", dtype: Float64, metadata:
| {} }, Field { name: "size", dtype: Int64, metadata: {} }, Field { name:
| "ssh_url", dtype: Utf8, metadata: {} }, Field { name: "stargazers_count",
| dtype: Int64, metadata: {} }, Field { name: "stargazers_url", dtype: Utf8,
| metadata: {} }, Field { name: "statuses_url", dtype: Utf8, metadata: {} },
| Field { name: "subscribers_url", dtype: Utf8, metadata: {} }, Field { name:
| "subscription_url", dtype: Utf8, metadata: {} }, Field { name: "svn_url", dtype:
| Utf8, metadata: {} }, Field { name: "tags_url", dtype: Utf8, metadata: {} },
| Field { name: "teams_url", dtype: Utf8, metadata: {} }, Field { name: "topics",
| dtype: List(Utf8), metadata: {} }, Field { name: "trees_url", dtype: Utf8,
| metadata: {} }, Field { name: "updated_at", dtype: Utf8, metadata: {} }, Field
| { name: "url", dtype: Utf8, metadata: {} }, Field { name: "visibility", dtype:
| Utf8, metadata: {} }, Field { name: "watchers", dtype: Int64, metadata: {} },
| Field { name: "watchers_count", dtype: Int64, metadata: {} }, Field { name:
| "web_commit_signoff_required", dtype: Boolean, metadata: {} }])}
| Scan Tasks: [
| {File {file:///mnt/test_repo//20251014/part-
| 00000-1f37045a-f911-4661-925c-7c145b6e46eb-c000.snappy.parquet}}
| {File {file:///mnt/test_repo//20251014/part-
| 00001-1f37045a-f911-4661-925c-7c145b6e46eb-c000.snappy.parquet}}
| {File {file:///mnt/test_repo//20251014/part-
| 00002-1f37045a-f911-4661-925c-7c145b6e46eb-c000.snappy.parquet}}
| ...
| {File {file:///mnt/test_repo//20250930/part-
| 08033-746def56-b636-4915-aba8-684e38c89cfe-c000.snappy.parquet}}
| {File {file:///mnt/test_repo//20250930/part-
| 08034-746def56-b636-4915-aba8-684e38c89cfe-c000.snappy.parquet}}
| {File {file:///mnt/test_repo//20250930/part-
| 08035-746def56-b636-4915-aba8-684e38c89cfe-c000.snappy.parquet}}
| ]Colin Ho
11/18/2025, 12:54 PMrepartition(5000, "repo_name_normalized")Colin Ho
11/18/2025, 12:56 PMcan cai
11/18/2025, 1:04 PMcan cai
11/18/2025, 1:08 PMColin Ho
11/18/2025, 1:14 PMColin Ho
11/18/2025, 1:15 PMColin Ho
11/18/2025, 1:15 PMColin Ho
11/18/2025, 1:15 PMColin Ho
11/18/2025, 1:16 PMColin Ho
11/18/2025, 1:16 PMcan cai
11/18/2025, 1:20 PMcan cai
11/18/2025, 1:23 PMTask was killed due to the node running low on memory.
PID MEM(GB) COMMAND
263 17.19 ray::PhysicalScan->Project->Filter->ProjectColin Ho
11/18/2025, 1:58 PMimport ray
import time
@ray.remote
def sleep(x):
time.sleep(x)
ray.get([sleep.remote(0.1) for _ in range(20000)])
If the gcs is properly evicting finished tasks then i shouldn't see any finished tasks. I should only see running and waiting for scheduling. There should be plenty of them as i scheduled 20k.Colin Ho
11/18/2025, 1:58 PMcan cai
11/18/2025, 2:45 PMRAY_MAX_LIMIT_FROM_DATA_SOURCE and RAY_MAX_LIMIT_FROM_API_SERVER to display more task entries on the dashboard ui, so i can confirm whether more running tasks can be displayed.
cc @Colin Hocan cai
11/18/2025, 2:50 PMColin Ho
11/18/2025, 11:18 PMColin Ho
11/18/2025, 11:19 PMcan cai
11/19/2025, 2:29 AM