Synology - Running out of memory

Chuck,

I’m still having issues with this. Today I received an email that the system has been constantly running out of memory and to check what services and packages are running. I have the bare minimum running besides Plex, nothing else has been installed. Any help?

Steve

@SteveS801

The DS418play has 2GB of RAM (sized for being a NAS, not a media appliance).

Your usage, which isn’t uncommon, is pushing that memory.

DSM 7 is much more sensitive to swap use and doesn’t like getting in a state where applications are kicking each other out of memory.

My advice to you is to bite the bullet and be done with it; get an 8GB memory kit (2 4GB SODIMMs) . Don’t be tempted to put in 16GB (2x 8GB) because it’s the same or lesser price as that will cause problems)

Look at the specs for the Synology-brand memory and then get some Crucial or Kingston to put in it . Those two brands work well with these CPUs.


Chuck,

I have 6gb installed. 2 gb stock and an extra 4 gb stick. You’re recommending 8gb, but when I bought it, I thought they said it would only handle 6 max?

Steve

It can handle 8. Synology’s wording is awkward.

They don’t expect the typical user to remove & save the factory 2GB DIMM.

Given you have more than 2GB installed, I’m concerned.

I state this because my development system has 1GB and never gets into trouble BUT it’s also never really put into a production status.

Do you have a lot of music loaded?

Not much music, is music worse than movies/TV or other media?

Music takes a lot more memory to process.

There are reports, as to yet unconfirmed , about a memory leak.

This only started after I upgraded to DSM 7

Steve,
Here’s the kicker. The Plex binary (program itself) is the same for DSM 6 & 7. I only change the packaging (how the SPK is formated) to work with each OS version.

Did this begin with a different PMS version perhaps?

I’ve only noticed it after upgrading DSM, it was almost immediately following. I previously had the NAS set to reboot every morning, Plex would shut down an hour after boot.

@SteveS801

Moved you here. This isn’t really DSM 7 specific anymore.

10-4, thanks

What do I need to do? logs of any kind?

I might have found it. Caught a log file on another server which coincided with the OOM shutdown error from the host OS.

Submitted to Engineering.

Any word? How long does something like this take?

It depends on how easy the correction is.

Fixing the code to prevent the database from being damaged again is the easy part.

Coming up with the code to safely clean the errant records, however many there might be (in some cases – there have been millions of extra records) is the challenge.

This is why they want to be 100000000% correct in what they do. They need to know all possible variations are known.

That’s why Logs and databases for them to review are vital.

Hi,

I have the exact same problem… Running a Synology DS416play NAS for years, never had an issue with Plex until I upgraded to DSM 7 (running the latest build), I installed Plex and since then I get a notification that DSM 7 ran out of memory nearly every night at 4:00 AM my time… I followed the advice I read on a number of forums and upgraded the memory from the built-in 1GB to a new memory sim of 4GB, despite the upgrade, the “Synology ran out of memory” issue keeps happening…

Hope for a fix some time soon…

Tareq

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.