Re: Crash due to out of memory

by SymphonyXYZ
Reply

Original Post

Crash due to out of memory

★★ Apprentice

Product: Star Wars: Galaxy of Heroes
Platform:Android Phone
What type of device are you experiencing the issue with? Samsung Galaxy S10
OS Version 10
Ally Code: (Find it here: http://bit.ly/AllyCode ) 627-751-875
What type of issue do you have? Gameplay
How often does the bug occur? Often (50% - 99%)
Summarize your bug Game crashes when Unity is unable to allocate memory
Steps: How can we find the bug ourselves? Valgrind is pretty good.
Connection Type Wifi
Please select your region Europe
Country Finland

The interesting part from ADB looks like this:

 

2020-07-11 19:02:51.939 2295-2725/? E/Unity: UnityWebRequest: errorCallback with error=java.io.IOException: unexpected end of stream on Connection{swprod.capitalgames.com:443, proxy=DIRECT hostAddress=3.233.142.61 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=1) url=https://swprod.capitalgames.com/rpc
2020-07-11 19:02:51.940 2295-2725/? E/Unity: java.io.IOException: unexpected end of stream on Connection{swprod.capitalgames.com:443, proxy=DIRECT hostAddress=3.233.142.61 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=1)

(Filename: Line: 451)
2020-07-11 19:03:12.237 2295-2295/? I/Upsight-UnityMarketing: Billboard for scope: arena_matchmaking has already been prepared
2020-07-11 19:03:13.532 2295-2295/? I/Upsight-UnityMarketing: onContentNotAvailable
2020-07-11 19:03:17.827 2295-2834/? E/Unity: Could not allocate memory: System out of memory!
Trying to allocate: 11144004B with 16 alignment. MemoryLabel: DynamicArray
Allocation happened at: Line:75 in
Memory overview

[ ALLOC_DEFAULT ] used: 165682991B | peak: 212362172B | reserved: 171112640B
[ ALLOC_TEMP_JOB ] used: 635332B | peak: 0B | reserved: 9437184B
[ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B
[ ALLOC_GAMEOBJECT ] used: 46151476B | peak: 57416703B | reserved: 50620010B
[ ALLOC_GFX ] used: 14861029B | peak: 19377351B | reserved: 14878034B
[ ALLOC_TEMP_THREAD ] used: 93356B | peak: 0B | reserved: 2490368B


(Filename: Line: 1161)
2020-07-11 19:03:38.709 1659-2276/? I/WindowManager: WIN DEATH: Window{185a477 u0 com.ea.game.starwarscapital_row/com.ea.games.capitalgames.CapitalGamesActivity}
2020-07-11 19:03:38.711 1659-1883/? I/ActivityManager: Process com.ea.game.starwarscapital_row (pid 2295) has died

Message 1 of 6 (650 Views)

Re: Crash due to out of memory

★★★ Novice

Does the crash happen during a battle or just in the menus/cantina?

 

I've been experiencing a crash when i have my game running in the background for a while, reopen it, and play an arena/gac/tb/tw battle. The game just freezes.  

 

Ive asked around and every single person that has the same problem i have uses a samsung device so im wondering if theres a connection there.

Message 2 of 6 (636 Views)

Re: Crash due to out of memory

★★ Apprentice

I've seen one similar silent exit crash during fleet arena match, but I'm not sure if the root cause is the same. I haven't been able to reproduce it yet.

 

There has been also one during attack phase in the last TW. There was audio distortion, buttons stopped working, but the game didn't exit.

 

All of these problems appeared after the last update, and I haven't had these issues earlier.

 

 

Message 3 of 6 (630 Views)

Re: Crash due to out of memory

★★★ Novice

also if this is a memory problem that ive been seeing, perhaps what is happening is when the game is in the background for a while, the OS recycles the memory that was used by swgoh but swgoh doesnt free its pointers to it so it winds up using either a null pointer or is accessing memory that it shouldnt be.

 

 

Message 4 of 6 (629 Views)

Re: Crash due to out of memory

★★★ Novice

Alsp I have been experiencing my freezing issues for months now.

Message 5 of 6 (626 Views)

Re: Crash due to out of memory

★★ Apprentice

Managed to reproduce fleet arena crash. Backtrace was different, though. Anyway, I reported that separately already.

Message 6 of 6 (492 Views)