RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Emulationstation crashed and Cannot allocate memory on pi4

    Scheduled Pinned Locked Moved Help and Support
    crashpi 4es crashed
    66 Posts 10 Posters 5.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator
      last edited by mitu

      unfortunately it doesn't contain the information of where the crash originated. I think my instructions are not correct and the backtrace is not printed in the logs :/.

      1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver
        last edited by quicksilver

        I appreciate your help on this. Do you have any further advice? Im not sure what to do now considering I just started over and the issue persists.

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          Since I can't reproduce it with my data, can you create an archive with all your gamelists ($HOME/.emulationstation/gamelists), which should have both the list of games and the artwork - no ROMs. ? Let's see if we can transplant your configuration on my system.

          quicksilverQ 1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @mitu
            last edited by

            @mitu you want just the gameslists or do you want the scraped media files too? (no roms)

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @quicksilver
              last edited by

              Yes, add the scraped media also, since you said you don't have videos.

              1 Reply Last reply Reply Quote 0
              • quicksilverQ
                quicksilver
                last edited by

                Ok Ill get started on that, it will take me some time to extricate that info since I now have it stored with my roms. Unfortunately it wont be as easy to copy and paste as before.

                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by

                  The following commands should zip all media related .png files into one zip:

                  cd $HOME/RetroPie/roms
                  find -type f | grep media | egrep png$ | zip all-media.zip -@
                  
                  quicksilverQ 1 Reply Last reply Reply Quote 0
                  • quicksilverQ
                    quicksilver @mitu
                    last edited by

                    @mitu Ill give this a shot thanks

                    1 Reply Last reply Reply Quote 0
                    • quicksilverQ
                      quicksilver
                      last edited by

                      Before I made someone else do a bunch of work trying to troubleshoot my issue I decided to start with a stock image and make changes one by one to see when the crashing occured. I narrowed it down to the nostalgic-neo theme. After I reverted back to the default nostalgic theme and rebooting I haven't had a crash and it's been almost a week. I removed the nostalgic-neo theme from my pi 3 rebooted and it is also stable again. Not sure exactly why this theme made emulation station unstable for me but I'm glad to have finally figured it out. The odd thing is that originally when I was troubleshooting this issue I switched to the carbon theme and still had crashing but maybe if it was some sort of memory issue/leak then I should have rebooted in between tests.

                      EfriimE 1 Reply Last reply Reply Quote 1
                      • EfriimE
                        Efriim @quicksilver
                        last edited by

                        @quicksilver
                        Yeah probably got to reboot for that. I didn't bother looking at the theme when you ruled it out, I probably wouldn't be able to notice anything anyway. Glad you figured it out.

                        1 Reply Last reply Reply Quote 0
                        • R
                          Retropia.rd
                          last edited by

                          Hi all, I found out that the problem occurs when the RPi4 is configured to display 4K. If you change the /boot/config.txt and force 1080p, the problem goes away.

                          shavecatS 1 Reply Last reply Reply Quote 0
                          • shavecatS
                            shavecat @Retropia.rd
                            last edited by

                            @Retropia-rd
                            Hey so i change the
                            #hdmi_group=1
                            #hdmi_mode=16
                            too
                            hdmi_group=1
                            hdmi_mode=16

                            But i still getting this error

                            1 Reply Last reply Reply Quote 0
                            • shavecatS
                              shavecat @quicksilver
                              last edited by

                              @quicksilver
                              Hey quicksilver
                              im having the same thing.
                              im stuck with that for a month now...
                              but before that everything was fine like u said.

                              https://retropie.org.uk/forum/topic/27779/help-retropie-games-roms-going-back-to-emulationstation-sometimes?_=1600279649841

                              how did u get it fix ? plz :)

                              quicksilverQ 1 Reply Last reply Reply Quote 0
                              • quicksilverQ
                                quicksilver @shavecat
                                last edited by

                                @shavecat I'm fairly certain my issue was related to the theme I was using, try switching back to carbon theme, reboot your pi and see if that fixes it.

                                shavecatS 1 Reply Last reply Reply Quote 0
                                • shavecatS
                                  shavecat @quicksilver
                                  last edited by shavecat

                                  @quicksilver
                                  Thank u i will give a try :)

                                  so im still getting this on my runcommand.log and the game just go back to emulationsatin
                                  https://pastebin.com/KYeiA7DE

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                  Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.