I have seen out of memory exception while trying to create a thread with an react native app in Nexus 7. Given the fact that Linux is under the hood it is highly unlikely to get out of memory exception while creating a thread. The method that Java runtime calls for creating thread does not have the error code documented as it is usually not possible to hit the error. But with react native app it was possible. As a kernel developer I finally happened to see this error. Android has low memory killer that prevents this error from happening, Linux has out of memory killer that prevents this from happening. But react native has used huge memory to result in this error.
Just because having native in the name does not mean it is performant. It is like saying "name X translates to good so person X is good". What if person X happens to be a terrorist?
Note: The react native app I am taking about is very simple. Similar apps that provide same or better functionally consumes very less memory.
PrasannaKumar Muralidharan
Kernel developer @ Witworks
I have seen out of memory exception while trying to create a thread with an react native app in Nexus 7. Given the fact that Linux is under the hood it is highly unlikely to get out of memory exception while creating a thread. The method that Java runtime calls for creating thread does not have the error code documented as it is usually not possible to hit the error. But with react native app it was possible. As a kernel developer I finally happened to see this error. Android has low memory killer that prevents this error from happening, Linux has out of memory killer that prevents this from happening. But react native has used huge memory to result in this error.
Just because having native in the name does not mean it is performant. It is like saying "name X translates to good so person X is good". What if person X happens to be a terrorist?
Note: The react native app I am taking about is very simple. Similar apps that provide same or better functionally consumes very less memory.