Skip to content
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

Memory consumption #115

Open
Hydro8 opened this issue Jan 27, 2024 · 9 comments
Open

Memory consumption #115

Hydro8 opened this issue Jan 27, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@Hydro8
Copy link

Hydro8 commented Jan 27, 2024

Describe the bug
On my Mac mini m2 8go, on sonoma, Pika seems to use a lot of memory. Now, it use 480mo of memory where shottr use 58mo and Spotify use 120mo.

image

Is it normal ?

thanks

@Hydro8 Hydro8 added the bug Something isn't working label Jan 27, 2024
@superhighfives
Copy link
Owner

Oooh, thanks for flagging @Hydro8. For me Pika is using 22mb. If you restart it, or your computer, does it drop down? Wondering if maybe there's a memory leak somewhere. 🤔

image

@Hydro8
Copy link
Author

Hydro8 commented Feb 1, 2024

I will retry tomorrow but I rebooted today and here the result :

IMG_1528

@superhighfives
Copy link
Owner

Hmmm, are you able to check the total memory PIka is using? Thanks for digging into this.

@Hydro8
Copy link
Author

Hydro8 commented Feb 6, 2024

This morning :

image

With Pika in the background.

@Hydro8
Copy link
Author

Hydro8 commented May 28, 2024

Hi
Did you have time to look for this issue ?
Thanks

@superhighfives
Copy link
Owner

I haven't been able to recreate it, unfortunately. I'll leave the issue open in case someone else comes across the same issue. Could you tell me a little more about your setup? Is there anything that seems to cause the memory usage to increase? What's the memory usage when you start the app, and how quickly does it increase?

Environment (please complete the following information):

  • OS: [e.g. iOS]
  • App Version: [e.g. 0.0.1]
  • Architecture: [e.g. Intel vs Apple Silicon]

Additional context
Add any other context about the problem here.

@Hydro8
Copy link
Author

Hydro8 commented May 30, 2024

What is funny is that I reinstalled my mac many days ago and I still have this issue...

Here a gif to show you the usage after killing and restart the app :

CleanShot 2024-05-30 at 16 56 23

Environment (please complete the following information):

OS: Mac OS Sonoma
App Version: Sonoma 14.5
Architecture: Mac Mini M2 8go ram

@superhighfives
Copy link
Owner

That is bananas. I've tried Pika on an M1 Mac, and an Intel. Same results:

image

Especially for it to start that high, it definitely seems like something is wrong.

If anyone has a better idea of how to benchmark this, I'd love to hear it. I'm afraid my knowledge of memory handling in Swift is pretty basic. I've tried looking for spikes or issues in the Xcode debugger, but it stays consistent, within expectations. I can't get it to push far past 80mb.

In the meantime, @Hydro8, you might be better off using something like https://www.sipapp.io/, https://colorslurp.com/, or https://contrasteapp.com/ I'm really sorry that I don't have a better answer for you.

@Hydro8
Copy link
Author

Hydro8 commented Jun 3, 2024

Thanks for taking the time to look into the issue.
I really like your app so I'll continue to use it ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants