Java Garbage Problem for GPIO


2 posts
by Speed Plc » Mon Mar 13, 2017 3:48 pm
Hi!
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. :x
Posts: 3
Joined: Mon Mar 13, 2017 3:27 pm
by princec » Thu Mar 16, 2017 8:08 pm
Seems a bit unlikely.

Have you profiled it?

Cas :)
Posts: 31
Joined: Fri Sep 02, 2011 11:01 am