Sounds like some sort of leak...
Try opening Task Manager (better yet: Process Explorer) and see if BizHawk uses a lot of RAM or CPU time (maximum should be 100% divided by the number of your CPU's cores).
I used the Process Explorer as you said :D
This are the results:
The longer it created / loaded frames, the more it claimed CPU & RAM.
Older frames were fluently playable, once it loaded / created new ones: Lag.
Everything was fine in the beginning and it started to lag hard at the same 8500 frames with around 12.5% CPU usage and 1.300.000 K Private Bytes / 1.100.000 Working Set. My complete CPU usage was at around 15% which SHOULD be okay, Physical Usage was at around 50%, should be also okay for the PC itself. Once I paused it, the process CPU demand drops down to 0.05% usage, the Private Bytes went to 775.000 K / 643.000 K Working Set. Once I unpaused it, the CPU went up to 12.5%, yet the Private Bytes and Working Set said the same as before when paused.
When I closed TAStudio, the RAM memory wasn't dropped either - It was still 775.000 K / 643.000 K. Only when I re-opened TAStudio, the Private Bytes when to 241.000 K / 108.000 K.
It really sounds like a major memory leak for me, but is it one?
zeromus wrote:
tastudio is currently undergoing hot development so knowing which version youre using is critical to make any sense of what youre saying
And I'm using the TAStudio version which comes with BizHawk 1.11.1.
Hi there,
I wanted to make my very first TAS and play around a bit with Wario Land until I encountered this problem: After around 8500 frames loaded into TAStudio, the program begins to lag with 5 FPS and gets slower and slower the longer I let it run. I tried older versions as well but I still have this problem. I have quite a new laptop with newer hardware components and should run fine actually.
I made a video of it:
Link to video
It also crashed once for me saying: "System.InvalidOperationException: Collection was modified after the enumerator was instantiated. etc etc"
Once I close TAStudio, BizHawk runs perfectly fine again.
Anyone can help me with this problem? :o
Shiru
- - - - - - - - - -
EDIT:
And here the files to download:
- Game: Super Mario Land 3 - Wario Land (World)
- TASProj: https://www.dropbox.com/s/p5pdobdhf2lc81t/empty_lag_file.tasproj?dl=1
- BK2 file: https://www.dropbox.com/s/d6u1jtmqdqmvwe4/empty_lag_file.tasproj.bk2?dl=1
And the CPU usage:
http://i.imgur.com/PdYtF4K.png