HebiRobotics / hebi-matlab-api

Public download and issue tracker of the latest HEBI API for MATLAB
http://docs.hebi.us/tools.html#matlab-api
0 stars 0 forks source link

Errors with memory in macOS #36

Open daverolli opened 4 years ago

daverolli commented 4 years ago

It seems like with macOS Mojave, there are issues when Java needs to use lots of memory. In particular when loading big log files, or lots of medium-sized log files you get Java memory errors. It seems like the Java Heap size isn't changing, even if you set it to the max of 4,096MB.

I can't exactly tie it to the upgrade from High Sierra to Mojave, but this is reproducible on all recent versions of the API going back to 1.3, and does not happen on Windows.

daverolli commented 4 years ago

To be clear, this is minor. There is a workaround where you covert log files to .mat and then just load those. The conversion from .hebilog to .mat doesn't seem to hit main memory and works quickly, even for extremely large files.