Skip to content

Please add MemoryManager #5891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 12 tasks
pkar70 opened this issue May 3, 2021 · 1 comment · Fixed by #7048
Closed
1 of 12 tasks

Please add MemoryManager #5891

pkar70 opened this issue May 3, 2021 · 1 comment · Fixed by #7048
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/enhancement New feature or request project/non-ui ⚙️ Categorizes an issue or PR as relevant to winrt (non-ui)

Comments

@pkar70
Copy link
Contributor

pkar70 commented May 3, 2021

What would you like to be added:

MemoryManager, at least .AppMemoryUsage and .AppMemoryUsageLimit

Why is this needed:

I'm using it in my app (and I'm porting app to Uno).

For which Platform:

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

Anything else we need to know?

@pkar70 pkar70 added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification labels May 3, 2021
@jeromelaban jeromelaban added project/non-ui ⚙️ Categorizes an issue or PR as relevant to winrt (non-ui) and removed triage/untriaged Indicates an issue requires triaging or verification labels May 3, 2021
@pkar70
Copy link
Contributor Author

pkar70 commented May 3, 2021

On Android, Implementing .AppMemoryUsageLimit is easier than .AppMemoryUsage :)
.AppMemoryUsageLimit = AppMemoryUsage + ActivityManager.MemoryInfo.availMem - ActivityManager.MemoryInfo.availMem.threshold

@MartinZikmund MartinZikmund added difficulty/starter 🚀 Categorizes an issue for which the difficulty level is reachable by newcomers difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. difficulty/starter 🚀 Categorizes an issue for which the difficulty level is reachable by newcomers labels Jun 4, 2021
Hudney added a commit to Hudney/uno that referenced this issue Aug 24, 2021
Hudney added a commit to Hudney/uno that referenced this issue Sep 2, 2021
MartinZikmund pushed a commit to MartinZikmund/Uno that referenced this issue Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/enhancement New feature or request project/non-ui ⚙️ Categorizes an issue or PR as relevant to winrt (non-ui)
Projects
None yet
3 participants