When I use this lib to cache video where size is bigger than 2GB, it can only cache 2GB data and then all threads(includes main ui thread) are stopped. So I changed 'int' to 'long' of this lib, it seems to work well(the file cached seems ok), but still, all threads are stopped.