Jump to content
  • 0

Out of memory / swap file issues on Odroid HC4 / OMV


Gabriel White
 Share

Question

Armbianmonitor:

I recently upgraded from an Odroid HC2 to and Odroid HC4.

 

I reinstalled the OS following the instructions on armbian.com, flashing onto a MicroSD.

 

After migrating the apps (mostly dockers), I found that restic (backup tool) was generating out of memory errors and bringing the system to a halt in a way the HC2 didn't. This surprised me as it's overall higher specced, and the configuration was otherwise identical.

 

After some troubleshooting, I realised there was no swap drive specified, and that creating a swap eliminated my out of memory errors.

 

I'm not sure if the source of the "problem" is the swapfile here, but it at least stopped the problem occurring.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
7 hours ago, Gabriel White said:

configuration was otherwise identical.


You migrated from armhf to arm64. This means all binaries are changed. Also kernel is a bit more recent but I doubt there is a source of problem since we would have more similar out of memory reports. 

 

7 hours ago, Gabriel White said:

I'm not sure if the source of the "problem" is the swapfile here, but it at least stopped the problem occurring.


OMV changes / breaks some optimisations Armbian makes and add their own. Perhaps this was not done properly and you ended up without memory extension. We don't use swap in any case, but compressed memory to extend memory.


You can add additional swap file, to test, but it is probably some memory leak in the application layer, libraries. I would check that possibility first.

Link to comment
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...