Bit-Player-Chrome-Extension icon indicating copy to clipboard operation
Bit-Player-Chrome-Extension copied to clipboard

Bit Player crashes all the time when files are 1gb+.

Open jamesandthegiantrock opened this issue 8 years ago • 4 comments

Hi. Bitplayer works great if the file being streamed is under 1gb. Files over 1gb always end up in Bitplayer crashing. Is anyone else experiencing this issue or is it just me? Is it perhaps due to using a chromebook that only has 2gb of ram? Thanks.

jamesandthegiantrock avatar May 24 '16 07:05 jamesandthegiantrock

Hi, James. The downloaded data is stored in memory so if your machine doesn't have much of it, "bit player" will crash eventually. I'm aware of this problem and it's probably solvable. I just need some time to handle it :)

roeycohen avatar May 24 '16 07:05 roeycohen

I tried using virtual memory swap: https://www.maketecheasier.com/create-swap-on-chromebook/ but it didn't do anything to help, bitplayer still crashed when trying to stream a 1.28gb mp4 file

jamesandthegiantrock avatar May 26 '16 22:05 jamesandthegiantrock

ok, james, i'll see what i can do.

roeycohen avatar May 27 '16 12:05 roeycohen

Is the entirety of a video being stored in memory? Wouldn't a temporary hard storage location be a better use of memory?

There are many ways we could combat this:

  • Dividing the video into parts (what YouTube does) where only the upcoming, present, previous chunks are recycled in a linked list.
  • A buffer 'window' that stores an active area of the video in memory, with the full video in storage. (Deleted on app close or new video loaded)

Lets work together.

MarkIvanowich avatar Mar 31 '17 16:03 MarkIvanowich