[SOLVED] RPi out of memory - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [SOLVED] RPi out of memory (/showthread.php?tid=5641) |
RE: RPi out of memory - Sunfish - 06-22-2023 (06-22-2023, 11:59 AM)Tim Curtis Wrote:I had a directory named "Hidden" in which I put a mpdignore-file containing an "*", all files in (sub)directories should be omitted. Accidentally I noticed that the "Hidden" directory was visible in MoOde, therefore guessing it was causing problems because in the legacy version of Moode it works well. I removed that "Hidden" directory entirely, which 'solved' the problem, now mpdignore is behaving as it should.(06-22-2023, 11:40 AM)Sunfish Wrote: I did several tests with libraries up to 3.6TB. The subject files are classical music. Checking the files revealed that filenames and/or artist and/or title in several cases have more than 140 characters. I did count the length of some of the entries. The files are correct Flac format but the naming/tagging is not yet in accordance the way I tag my music. (TBD) RE: RPi out of memory - Sunfish - 06-22-2023 (06-22-2023, 02:26 PM)TheOldPresbyope Wrote: I confess I overlooked your early remark about files with long metadata field entries but in any case it was made in the context of .mpdignore. I have not tried this with the suspected files. It is quite time consuming. One of these days I will try it. Regards Wim RE: RPi out of memory - Sunfish - 06-23-2023 (06-22-2023, 02:49 PM)Sunfish Wrote:(06-22-2023, 02:26 PM)TheOldPresbyope Wrote: I confess I overlooked your early remark about files with long metadata field entries but in any case it was made in the context of .mpdignore. So I copied the suspected files to a drive. At first without .mpdignore. All worked well, also after reboot and several times "update library". The I inserted the .mpdignore into the top of the directory. Again all was working properly, all files were invisible, no jump in usage of memory. In fact the entire USB drive was invisible in the MoOde folderstructure. Therefore I made an seperate directory without mpdignore, after "update library" those files on the USB drive became visible. Again without any problems. So the idea of too long filenames, metatags etc. is overboard. Maybe back to the idea that the number of files/folders is causing problems. Regards RE: RPi out of memory - Tim Curtis - 06-23-2023 Strange issue. Did you check for hidden files, other than the .mpdignore file? The reason I ask is that MacOS creates those annoying and unwanted "resource fork" hidden files whenever doing anything to an attached storage device. Then have to deleted via a script otherwise IIRC MPD will try to index them. I think Windows also creates some hidden files? RE: RPi out of memory - Sunfish - 06-23-2023 (06-23-2023, 02:04 PM)Tim Curtis Wrote: Strange issue. No hidden files present. No Mac in sight. I did remove the windows trashcan and the annoying System Volume Information folders. But to add to this issue, and I'm totally frustrated now, is that my system crashed again. After the latest test with the alledged bad files, I swapped back in the original HD without those 'bad' files and no mpdignore, on which I did check the filesystem, and booted up the system. At first it worked fine but upon opening the UI after 10 or 15 seconds the system is hanging. After several hard reboots, killing the power is the only option left, this happens over and over again. I'm not able to get it out of this loop. Checking memory usage, by means of Mobaxterm, showed memory was filled to the brim again. At the moment playing the legacy version, which is behaving like it should, no hickups. RE: RPi out of memory - Sunfish - 07-09-2023 FYI. As a test I replaced the RPi 3B+ with a RPi 4B 2Gb memory. MoOde is working without any problem. Updating the library is not causing extreme memory usage or freezing of the system. At my place another 3Pi 3B+ is running Pihole with a brided AP. After upgrading the OS from 32bit to Rapberry Pi OS 64bit the system proved not stable. At least once a day the system froze. Changing back to Raspberry Pi OS 32bit solved this problem. Without really being solved this issue, for me, is closed. regards Wim RE: RPi out of memory - DRONE7 - 07-09-2023 Do check that your RPi is updated to latest Firmware. May have some bearing on 32/64 bit stability ? RE: RPi out of memory - Sunfish - 07-09-2023 (07-09-2023, 09:17 AM)DRONE7 Wrote: Do check that your RPi is updated to latest Firmware. Thanks for your advise, makes sense. However in case of MoOde the version used is 8.3.3, so the kernel must be up to date. Not being a linux expert, my understanding is that the kernel is included in the Moode image as it is based on the Raspberry Pi OS. Regards Wim RE: RPi out of memory - TheOldPresbyope - 07-09-2023 (07-09-2023, 07:34 AM)Sunfish Wrote: FYI. So are you saying that simply running 64bit Raspberry Pi OS on your RPi 3B+ (eg, not even installing and running 64bit moOde) causes out-of-memory or instability problems? That makes this an issue for the Raspberry Pi Forum. Regards, Kent RE: RPi out of memory - Sunfish - 07-10-2023 (07-09-2023, 02:19 PM)TheOldPresbyope Wrote: So are you saying that simply running 64bit Raspberry Pi OS on your RPi 3B+ (eg, not even installing and running 64bit moOde) causes out-of-memory or instability problems? That makes this an issue for the Raspberry Pi Forum. Looks like a valid conclusion. Both problems I encountered with 64b OS in combination with RPi 3B+ (2 differend boards) started after installing the OS. I will open a thread on the Raspberry Pi Forum. |