Excessive cpu usage for np.unique
See original GitHub issueCalling np.unique seems to result in > 100% cpu usage (no multiprocessing).
Reproducing code example:
import numpy as np
for _ in range(1000):
arr = np.zeros((1024, 6144), dtype=np.uint16)
np.unique(arr)
Error message:
htop shows ~3600% CPU usage.
Numpy/Python version information:
1.15.3 3.6.6 |Anaconda, Inc.| (default, Oct 9 2018, 12:34:16) [GCC 7.3.0]
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (12 by maintainers)
Top Results From Across the Web
How to overcome MemoryError of numpy.unique
Monitoring the memory and CPU usage doesn't show that the problems are related to RAM or CPU.
Read more >Common Causes and Solutions to Excessive Resource Usage
Now that you have a basic understanding of server resources, we're going to cover common reasons a website is causing high CPU usage....
Read more >How to Lower CPU Usage - NinjaOne
There are a few common fixes for high CPU load, some of which are Windows 10 specific, and others that work on nearly...
Read more >CICS with JVM enabled is using excessive CPU when ... - IBM
Your CICS Transaction Server for z/OS (CICS TS) region is consuming large amounts of CPU for no apparent reason.
Read more >Common Causes of Excessive CPU Usage - MY ROCHEN
A common misconception is that all websites are the same in terms of CPU/memory usage. This is not the case. For example, a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Rather than tagging an individual maintainer of Anaconda or Intel, it may be useful to open an issue on the correct tracker: https://github.com/ContinuumIO/anaconda-issues/issues. @njzjz it would be very helpful if you could do this and let us know so we can close this issue.
Closing the issue here, interested parties should follow the discussion on the open anaconda issue.