Giter Site home page Giter Site logo

Comments (8)

nicolas-van avatar nicolas-van commented on August 31, 2024

Hello,

LightningMF does not store all the roms info in the RAM. It saves them in a SQLite database. The program is optimized to never load too much information in the RAM. Having 26 000, 10 000 or 100 000 roms registered in MAME would not change anything, it would only take more time when you make a "Load ROM Data".

So, your interpretation of your problem is wrong. If you have a problem with the rom data stored by lightning you can just erase the SQLite database by removing ~/.lightningmf/.

Bye bye.

from lightningmf.

Caligo77 avatar Caligo77 commented on August 31, 2024

Maybe I explained myself wrong. I have a problem with a large number of snap. I have not added many roms, only 3, but I had put 126000 snap (all those of mame). I am using a virtual machine, and I set one gigabyte of RAM, if I put in the cache SQlite 126000 snap, lightingmf crashes. I think it should start erasing. Thank you

from lightningmf.

nicolas-van avatar nicolas-van commented on August 31, 2024

That's not a problem either. LMF doesn't load the images in its database, it only checks if the image exists when it displays a game.

from lightningmf.

Caligo77 avatar Caligo77 commented on August 31, 2024

So I think that is just the updating phase of DB when there is a large number of snap to create problems with a low amount of RAM. I repeat, I put in 126000 files snap. Probably not an error but is simply a limit SQLite when writing large amounts of data but there is little ram. Tnx

from lightningmf.

nicolas-van avatar nicolas-van commented on August 31, 2024

I just told you that the snaps are not in the DB.

from lightningmf.

Caligo77 avatar Caligo77 commented on August 31, 2024

Okay, I believe you. But not having read the code I can only speculate. But I do not understand what the resulting latency when loading 3 Roms and 126000 Snaps. This always happens to me lately and lihntingmf freezes, seems like it's in a loop. Simplify I'm telling you what happened to me.

from lightningmf.

nicolas-van avatar nicolas-van commented on August 31, 2024

When you click on "Load ROM Data" LMF does all the data from MAME. This is independent on the number of files you have, but it can take a lot of time before it completes, potentially multiple minutes.

from lightningmf.

Caligo77 avatar Caligo77 commented on August 31, 2024

Ok, thanks for your support. If I wanted to advise you to "recycle" the code of lightingmf, to handle Vice, an emulator of the Commodore 64. There is still no one who has implemented a frontend to manage it under linux, you would like to develop it? Communities who love retrogaming would thank you very much.

from lightningmf.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.