If, after next all All those recommendations, you still have problems with RAM and CPU, then it's possible it’s because your application is de facto way too large, along with a Raspberry Pi is not the right Resource for the position. In such cases, you may want to take a https://www.mirobot.ai/