We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am using latest version of processing on raspberry pi 3 latest updated OS. TO give you overview of my project includes using dynamically loading of some images for display and which are dynamically fetched while the program is running. And it uses GPIO pins and captures pictures from a webcam. My program starts with auto run. Code and functionality wise everything is working well to my project but I think its not using the full resources available on Pi and working slow. If it can use more resources of Pi it might run faster but i dont know how to work on it
In the scenario the startup time is takes about 45seconds to 60seconds(a minute) until it completely load the program and starts running. As the program is still loading i cant even show loading symbol on the screen as the pi is loading processing and he program it self.
Also the task manager shows that the memory is used between 400MB to 600MB out of 923MB(total) while the processing code alone is running. Also at the same time the CPU usage is also less the 55% shown in task manager's live display.
And If i leave my program keep running and dont do anything after sometime the raspberry Pi system hangs and I have to forcefully swtich off the power.
Need to how can i make processing on Raspberry Pi make use of more RAM memory and CPU available to it.
I also went into raspi-config and from advance setting to GL Drivers ann enabled the GL Full KMS option. Then I added into 256MB for GPU memory. But it doesnt help much. Can't see any effective results while the code is running.