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
calling file.content (potentially) puts the entire file in memory at once. See ActiveFedora::File#content and the various behaviors based on different @content classes (local_or_remote_content and behaves_like_io?).
The point is that WorkingDirectory doesn't know whether it is getting in IO-like object, or an internal @ds_content, ldp_source.get.body or what. @jcoyne identified this problem in commit 5db7d0c with the line:
TODO: this causes a load into memory, which we'd like to avoid
The text was updated successfully, but these errors were encountered:
Hyrax::WorkingDirectory
in the line:calling
file.content
(potentially) puts the entire file in memory at once. See ActiveFedora::File#content and the various behaviors based on different@content
classes (local_or_remote_content
andbehaves_like_io?
).The point is that
WorkingDirectory
doesn't know whether it is getting in IO-like object, or an internal@ds_content
,ldp_source.get.body
or what. @jcoyne identified this problem in commit 5db7d0c with the line:The text was updated successfully, but these errors were encountered: