Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28468

React Native ActivityIndicator causing high CPU load and overheating

$
0
0

I'm using React Native component ActivityIndicator to display a preloading state. However, if this state persists for a few moments longer than expected (or app get stuck in the preloading state) my CPU starts to rapidly overload. You might think that this is due to some computation in the background, but this happens even when I just render it like this...

<View>
      <ActivityIndicator color="white" size="small"/>
      <Text>Connecting...</Text>
</View>

I'm using emulated device (S. Galaxy S6, API 23) in Genymotion emulator on Mac OSX 10.12.1 The process, which drains the CPU is Vboxheadless

enter image description here

Any ideas what might be causing this, or how to fix it? Am I doing something wrong or missing some settings?


Viewing all articles
Browse latest Browse all 28468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>