Ente Cli: 32-bit arm binary #4721
Replies: 1 comment
-
Memory Requirements on 32-bit ARMI attempted to cross-compile the CLI for 32-bit ARM. While compilation succeeded, execution failed with a critical memory error. I compiled it with the environment:
The IssueAs soon as I use Error Detailsfatal error: runtime: out of memory
runtime stack:
runtime.throw({0x5d4310, 0x16})
[...]
golang.org/x/crypto/argon2.IDKey(...) // Attempting to allocate 1GB QuestionWould it be possible to make the memory usage configurable or reduce it somehow? Maybe someone familiar with Argon2 and this codebase can suggest a workaround. Or is this just a limitation of the CLI that's unavoidable on 32-bit devices with ~1024MB of RAM (~512 for the application)? I totally understand if there's no official support for a 32-bit version (especially with a low memory footprint). Still, I think it could be useful for typical CLI use cases, especially on devices like older Raspberry Pis and I would appreciate any help. |
Beta Was this translation helpful? Give feedback.
-
Add 32-bit ARM Support for Ente CLI
Overview
Add support for 32-bit ARM architecture (armv7l) to enable Ente CLI usage on existing devices like Raspberry Pi, promoting hardware longevity and reducing e-waste.
Current Situation
The Ente CLI doesn't support 32-bit ARM architecture, preventing users from utilizing existing hardware like Raspberry Pi for data backup purposes.
Benefits
Technical Scope
Beta Was this translation helpful? Give feedback.
All reactions