comment
authorJoey Hess <joeyh@joeyh.name>
Mon, 22 Feb 2021 16:31:55 +0000 (12:31 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 22 Feb 2021 16:31:55 +0000 (12:31 -0400)
doc/forum/Rename_local_repository_for_git-annex-info/comment_4_695a821eee66f8c4d4e22518edd15c40._comment [new file with mode: 0644]
doc/git-annex-import/comment_3_3891ccc35010e1e5c328a9aa6b9e596b._comment [new file with mode: 0644]

diff --git a/doc/forum/Rename_local_repository_for_git-annex-info/comment_4_695a821eee66f8c4d4e22518edd15c40._comment b/doc/forum/Rename_local_repository_for_git-annex-info/comment_4_695a821eee66f8c4d4e22518edd15c40._comment
new file mode 100644 (file)
index 0000000..f744fc1
--- /dev/null
@@ -0,0 +1,8 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 4"""
+ date="2021-02-22T16:30:37Z"
+ content="""
+Yes, "here" is hardcoded. It could be made configurable in the git config,
+if there's actually a good reason to want to.
+"""]]
diff --git a/doc/git-annex-import/comment_3_3891ccc35010e1e5c328a9aa6b9e596b._comment b/doc/git-annex-import/comment_3_3891ccc35010e1e5c328a9aa6b9e596b._comment
new file mode 100644 (file)
index 0000000..27d00aa
--- /dev/null
@@ -0,0 +1,15 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""re: import from special directory remote fails due to running out of memory"""
+ date="2021-02-22T16:13:32Z"
+ content="""
+Importing from special remotes necessarily needs to hold the list of files
+in memory, or at least it seems like it would be hard to get it to stream
+over them. So there may be some way to decrease the memory use per file
+(currently 4.2 kb per file according to your numbers), possibly by around
+50%, but it would still scale with the number of files. The whole import
+interface would need to change to use trees to avoid that.
+It would be ok to file a bug report about this.
+
+The legacy directory import interface avoids such problems.
+"""]]