Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F11023514
D9008.id32474.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
738 B
Subscribers
None
D9008.id32474.diff
View Options
diff --git a/swh/graph/luigi/compressed_graph.py b/swh/graph/luigi/compressed_graph.py
--- a/swh/graph/luigi/compressed_graph.py
+++ b/swh/graph/luigi/compressed_graph.py
@@ -93,6 +93,7 @@
Larger is faster, but consumes more resources.
""",
)
+ max_ram = luigi.Parameter(default=None, significant=False)
object_types = list(ObjectType)
# To make this configurable, we could use this:
@@ -142,6 +143,8 @@
if self.batch_size:
conf["batch_size"] = self.batch_size
+ if self.max_ram:
+ conf["max_ram"] = self.max_ram
# Delete stamps. Otherwise interrupting this compression pipeline may leave
# stamps from a previous successful compression
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 17, 4:42 PM (2 h, 15 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3214572
Attached To
D9008: luigi: Add an option to define the maximum RAM used by graph compression
Event Timeline
Log In to Comment