As reported by a user, it appears that bin2header has a limit on how large of a file it can handle. This limitation may be different depending on operating system & available system resources. I have mostly tested the program with image files, & probably nothing bigger (at most) than a couple megabytes. It appears that when the program attempts to load a file larger than it can handle, it crashes without any helpful information about the error.
There are two things that I want to do:
First, have the program recognize when it cannot handle a file due to size limitations & output error details for the user without crashing.
Second, I want to increase, or perhaps abolish, the limitation on file size. Off-hand, I think a solution would be to set a chunk size for the program to process at a single time, rather than attempting the load the entire file all at once. Perhaps this chunk size could be manually adjusted by the user.
Fixed in release 0.2.0. Bin2header now manages writing output via chunks instead of attempting to export the entire file at once.