Code Monkey home page Code Monkey logo

Comments (5)

PaulMndn avatar PaulMndn commented on August 10, 2024 1

I will close this issue as it seems like it fixed itself. Even with big files.

from demo-viewer.

PaulMndn avatar PaulMndn commented on August 10, 2024

this is very unfortunate because I really liked using those replays to record matches and scrims.

from demo-viewer.

NtsFranz avatar NtsFranz commented on August 10, 2024

This seems like a bug despite your hardware.
Could you try this example file to see if it's a file size issue?
https://echopedia.gg/images/8/80/Clip_2021-08-28_23-11-51.echoreplay

What arena model are you using? The default one (Arena V4) is much heavier than the others.

from demo-viewer.

PaulMndn avatar PaulMndn commented on August 10, 2024

I have been using Arena V4 but also tried the others which also lagged.

When I try it now though, for some reason it does not lag anymore and runs quite good. But crashes after some time. What I also noticed is that if I open the program by double clicking a larger file it crashes while loading if I move the camera too much.

I have not found a way to reliably reproduce the chrashes yet, but it only happenes with large files (the ones I've tried were around 200 MB compressed) and only after some time so I think it has something to do with loading the file into memory.
Maybe it crashes when it runs out of free memory? In that case a possible fix would be to load and unload it more dynamically according to the available memory. (Don't know if it might do that already)

from demo-viewer.

NtsFranz avatar NtsFranz commented on August 10, 2024

200MB compressed means the uncompressed file is around 2GB, which is quite large.
The actually memory usage is even worse than that, since the program saves a parsed version in memory for each frame as well. This wasn't really a concern for the size of files I had thought would occur.
It would certainly be possible to use a streaming approach where the whole file isn't loaded into memory, but this would come at the cost of scrubbing performance. With the use of the upcoming .butter file format I will take another look at this, since reading performance is about 10x faster with that file format than with .echoreplay.

from demo-viewer.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.