Java Garbage Problem for GPIO
2 Χρόνια 8 Μήνες πριν #9349
We produce PLC software for Raspberry Pi. Cycle time extends while doing java garbage. Also Pi4J library causes the frequent operation of the garbage. I checked digital input statu for each cycle(my cycle less than 1 millisecond). Run only this code "if(Input.isHigh())" and Garbage running each second. Garbage running each 20 second without Pi4j GPIO command.
I didn't find the right solution from the internet.