mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Out of memory Crash - 1.6.0-9.22789.0

Open haron4igg opened this issue 11 months ago • 34 comments

Describe the bug

My players experiencing a huge spike in crashes due to memory usage (low memory, memory access and so on). My game mode is pretty memory intensive because of a lot of custom models, we spent days looking for the problem and so far we only found that older mta version having almost no problems, comparing to latest one's:

Crashes in last 30 days per versions:

1381 | 1.6.0-9.22789.0 675 | 1.6.0-9.22780.0 611 | 1.6.0-9.22763.0 247 | 1.6.0-9.22746.0 23 | 1.6.0-9.22650.0 17 | 1.6.0-9.22684.0 10 | 1.6.0-9.22771.0 9 | 1.6.0-9.22751.0

We are now suggesting player to rollback to older 22746 / 22650 version, and they report that there is no problems with that versions.

we had two crash scenarious, one is "good one", when player reconnects server 2-3 times and on 3-4th time he may get low memory and crash which is like ~99% of cases for us during last 10 years )

and new one - player start mta and joins server first time, plays 15-20 minutes, or after 2-3 minimizing he gets low memory and crash. this is what happens primarily with 22789.0

moment before player gets crash, after first low-memory warnings (textures/fonts not created) - his memstat looks totally okeish Image

crashes are different but mostly: Image Image Image

Going to update ticket as soon, as we identify exact version where problem appeared first time.

Steps to reproduce

  1. Join our server: mtasa://83.222.116.88:22003
  2. just play occasionaly for 10-15 minutes.
  3. Minimize-maximize MTA few times
  4. Eventtually you get low memory warning
  5. Few minuites after game crash. (people also report that by enabling showmemstat after memory warning, will cause crash immideately)

Version

Client: 1.6.0-9.22763.0 - 1.6.0-9.22789.0

Additional context

No response

Relevant log output

No response

Security Policy

  • [x] I have read and understood the Security Policy and this issue is not security related.

haron4igg avatar Nov 03 '24 18:11 haron4igg