Anixias
Member
EDIT:
My issue has been resolved, technically. However, there is almost definitely some form of memory leak, a huge one, involving tiles. While I'm placing tiles, RAM increases by about 20 MB per second. Every time I save the project after editing tiles, RAM increases by 200-300 MB. Every single time I save. It will continue to go up until it causes my computer to give up and shut down.
Hi all.
I've been working on a new project for a few days now, remaking an old game I made a year or so ago. The old game had a custom map editor program I built in GMS2, but this time I was going to use the built-in room editor. The map size is 2048x2048 (each tile is 16x16). I have two Tile layers.
As I was drawing out the map, my computer got slower and slower (whole pc, not just GMS2). I checked in task manager and GMS2 was using 10 GB of my 16 GB of RAM. It usually only uses about 2 GB but I also usually use much, much smaller rooms. After checking the memory, my computer blue-screened.
What can I do about this?
EDIT: After restarting my PC and loading up the project, the game no longer compiles (381 warnings generated, it didn't do that last time). All of the warnings are like this:
EDIT: The warnings went away once I opened the room, but the game still does not compile with this message at the bottom:
The errors in question:
EDIT: I deleted and replaced all controller instances in the room editor, cleaned the project, and the game now compiles correctly. It also isn't using nearly as much RAM, less than 1 GB. It seems that there might be a memory leak associated with drawing tiles. I used the rectangle and fill tools mostly.
My issue has been resolved, technically. However, there is almost definitely some form of memory leak, a huge one, involving tiles. While I'm placing tiles, RAM increases by about 20 MB per second. Every time I save the project after editing tiles, RAM increases by 200-300 MB. Every single time I save. It will continue to go up until it causes my computer to give up and shut down.
Hi all.
I've been working on a new project for a few days now, remaking an old game I made a year or so ago. The old game had a custom map editor program I built in GMS2, but this time I was going to use the built-in room editor. The map size is 2048x2048 (each tile is 16x16). I have two Tile layers.
As I was drawing out the map, my computer got slower and slower (whole pc, not just GMS2). I checked in task manager and GMS2 was using 10 GB of my 16 GB of RAM. It usually only uses about 2 GB but I also usually use much, much smaller rooms. After checking the memory, my computer blue-screened.
What can I do about this?
EDIT: After restarting my PC and loading up the project, the game no longer compiles (381 warnings generated, it didn't do that last time). All of the warnings are like this:
Code:
.../default/Scripts/llvm-win/gml_RoomCC_rm_game_1_Create.gml.cpp:1:369: warning: null character ignored [-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
Code:
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
Code:
(Gamename).vars.o : error LNK2001: unresolved external symbol "void __cdecl gml_RoomCC_rm_game_0_Create(class CInstance *,class CInstance *)" (?gml_RoomCC_rm_game_0_Create@@YAXPAVCInstance@@0@Z)
(Gamename).vars.o : error LNK2001: unresolved external symbol "void __cdecl gml_RoomCC_rm_game_1_Create(class CInstance *,class CInstance *)" (?gml_RoomCC_rm_game_1_Create@@YAXPAVCInstance@@0@Z)
(Gamename).vars.o : error LNK2001: unresolved external symbol "void __cdecl gml_RoomCC_rm_game_2_Create(class CInstance *,class CInstance *)" (?gml_RoomCC_rm_game_2_Create@@YAXPAVCInstance@@0@Z)
Y:/(Gamename)_3782D67E_YYC\(Gamename).exe : fatal error LNK1120: 3 unresolved externals
Final: Total time = 0.203s
mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "Y:/(Gamename)_3782D67E_YYC\(Gamename)exe". The system cannot find the file specified.
Last edited: