• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android Random crashes with the same reason

B

booksmaster

Guest
Hello! My game has more that 200k downloads for now. Crashlitycs show me the same error in different places of the code. It happends in during create event of different objects at any moment of the game. Right after start or at any other moment. Here is the text of the error:

E/GML < FATAL ERROR in action number 1 of Create Event for object obj_res_loading: Memory allocation failed: Attempting to allocate 4294967292 bytes

Here is the create event of that object:

cnt_restart=0;
if file_exists("snd_song2.ogg") // < always exists in the last version. Didnt change enything
{
room_goto_next()
}
else
{
res_handle=http_get_file("https://xxxxxxmyserver_addressxxxxxxxx/res/tablet/res1.zip","res.zip");
got_packet=0
need_size=0;
alarm[0]=10*room_speed;
}
start_load=date_create_datetime(current_year,current_month,current_day,current_hour,current_minute,current_second);


This error happends in different objects create event(only create) with very different code. Different devices with different RAM amount and different CPU. Different Android versions.
I'm not sure but I believe the error happends during first 30 secs of the game.

The game takes about 200mb RAM at max point. At the beginning it takes about 80Mb.

Here is the link to the game on play market.
https://play.google.com/store/apps/details?id=com.gokids.tablet&hl=ru

I have already received about 3-4k of such errors.
 
Top