gary-rowe / hid4java

A cross-platform Java Native Access (JNA) wrapper for the libusb/hidapi library. Works out of the box on Windows/Mac/Linux.
MIT License
229 stars 71 forks source link

Windows takes a long time to start hidapi #15

Closed gary-rowe closed 9 years ago

gary-rowe commented 9 years ago

Sometimes during development you'll get a JVM crash with a message like

siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff

On Windows, this will cause an opportunistic lock on the DLL causing very slow startup times (15-20s). The quickest way to fix this for a developer is to simply reboot.

gary-rowe commented 9 years ago

Nothing to be done here to fix this.