Giter VIP home page Giter VIP logo

Comments (5)

keepassium avatar keepassium commented on May 14, 2024 1

Memory shortage is a system-wide condition, that can be caused by another app that needs a lot of memory. In this case, the system sends "memory warnings" to all apps, asking them to free some memory if they can (clear some caches, for example).

Unfortunately, when I implemented processing of memory warnings, I assumed they would happen only when my app takes up too much memory (e.g. choking on too ambitious Argon2 settings). I will look into this and get rid of redundant error messages (and check for memory leaks, of course :)

Thanks for reporting!

from keepassium.

keepassium avatar keepassium commented on May 14, 2024

The errors mean that the system has warned KeePassium that there is little memory (RAM) left. Normally, this should happen when you open a heavy database, but apparently also happens in normal use. I will need to take this into account and handle these cases differently.

As for the uniformity, you are absolutely right and this is my pain point. AutoFill is basically a separate app with its own UI components. I have started refactoring the main app and unifying the UI components. This has proven to take way more time than I expected, so I had to pause refactoring and focus on AppStore release as the main priority. Some day, the unification will be done...

from keepassium.

nijhawank avatar nijhawank commented on May 14, 2024

Hello Andrei,

I also saw this error message (not enough memory) just yesterday and within a single day of installing it on my wife's phone. However I had never seen this message on my phone during my couple weeks of usage and we both have the same models so no difference in RAM.

Whats more important is that the error message appeared just after opening KeePassium and before I even attempted the database unlock similar to what the first screenshot shows. So this is nothing about database being huge or key derivation settings because we haven't attempted a database unlock yet.

Thoughts?

from keepassium.

magebarf avatar magebarf commented on May 14, 2024

As for me seeing it, I kind of wrote it down to being due to me trying to cause the issue, by reproducing the previous bug (#1 ) the last time before upgrading, and something odd with that flag being propagated during the upgrade.

So far haven't encountered the error message any more on my end, but will keep my eyes open.

from keepassium.

magebarf avatar magebarf commented on May 14, 2024

Been there, done that... Those low memory methods and delegates always gets invoked when you expect it the least. :)

from keepassium.

Related Issues (20)

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.