question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

M1 Throwing exception when calculate Memory metrics

See original GitHub issue

Testing M1 we found:

	at oshi.hardware.platform.mac.MacGlobalMemory.<init>(MacGlobalMemory.java:51)
	at oshi.hardware.platform.mac.MacHardwareAbstractionLayer.getMemory(MacHardwareAbstractionLayer.java:70)
	at com.cdsap.talaiot.metrics.RamAvailableMetric$1.invoke(SimpleMetrics.kt:56)
	at com.cdsap.talaiot.metrics.RamAvailableMetric$1.invoke(SimpleMetrics.kt:55)

We need to check if updating the dependencies of oshi fixes the problem

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
cdsapcommented, Feb 17, 2021

Updated to 5.5.0. Waiting to test again in a M1 Mac https://github.com/cdsap/Talaiot/pull/267

Read more comments on GitHub >

github_iconTop Results From Across the Web

Memory leaks are crippling my M1 MacBook Pro - Hacker News
I've noticed the high memory usage of WindowServer on my Mac at work. To the point where I have to kill it, which...
Read more >
Memory leaks are crippling my M1 MacBook Pro–and I'm not ...
I ran a Mac Mini M1 16gb for about a year straight with very little downtime, and never got an out of memory...
Read more >
Getting "Heavy Memory Usage" error with M1 Macbook pro
It's not an "error." It's a result of having an Apple Silicon machine with only 8GB RAM, the system will swap memory as...
Read more >
In python why does raising the same exception take more ...
I was profiling some code that raises exceptions to determine which of two approaches was better when I came across some memory usage...
Read more >
Troubleshoot Dataflow errors - Google Cloud
Your pipeline might throw exceptions while processing data. Some of these errors ... Dataflow is unable to determine the backlog for Pub/Sub subscription....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found