ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.58k stars 811 forks source link

Pacma Fight! - Stuck Parsing Game Data #12337

Open skiesofravens opened 1 year ago

skiesofravens commented 1 year ago

Describe the bug

http://www.flashpacman.info/pacman-pacmafight.php

When attempting to run the game, the publisher's logo splash screen appears, then Parsing Game Data appears. It then gets stuck at this screen, giving this in the console:

image

image

And then proceeds to attempt to unsuccessfully lock Ruffle core repeatedly.

Using Firefox Nightly 2023-07-26.

Expected behavior

Game parses game data for a few seconds then loads into title screen.

Affected platform

Browser's extension

Operating system

Windows 10 22H2

Browser

Firefox 115.0.2 64-Bit

Additional information

Both Standalone Nightly 2023-07-26 and Nightly 2023-07-23 successfully boot into the title screen.

n0samu commented 1 year ago

Ruffle is running out of memory - the error is always memory allocation of X bytes failed, where X is some (pretty small) number like 98176. The Ruffle desktop versions you mentioned aren't working for me. I randomly tried version 2021-07-04 though and that version worked for me, but used up something like 2.5GB of RAM. Either way the game isn't working as expected - maybe this needs memory optimizations such as sparse arrays or dependent strings.

skiesofravens commented 1 year ago

How much memory do you have? I got 32 GB which might explain why I can get in but you can't.

n0samu commented 1 year ago

Yeah I only have 16GB and I have a lot of other apps open atm