Running out of memory with Quicktest (Yes, I know this must sound silly but it is truthful fact)

Hi all,

An Unexpectedly Green Journey passes Quicktest but I have a big problem with it most of the time. It almost always runs out of memory, when going through my raider battles, and doesn’t complete. To test the game, I move the raider scene files to the bottom of the scene list in the startup file. Even so, it takes half an hour (or more) for the test to even get to them.

Now that I am working on a small update for Green, I have come face to face with this monster again after having a smooth run with my large, but much less complex, new WIP game.

My computer is not a potato. Not yet.

Does anyone have any tips/tricks to help me get through this?

2 Likes

Assuming you’re on Windows you could see if you’re not using the 32bit version of CMD instead of the 64bit. That would limit the amount of memory it can hog up by default. 32bit won’t take more than 4gb of RAM by default.

4 Likes

@CavusRex

Thanks, will take a look and have a fiddle. Yes windows PC.

2 Likes

How are you setting the test?

Show text? iterations? etc… maybe you can limit that. or make batches of fewer iterations. I do mine in a VM like 50k each x6 or 8 at the same time cause it only uses one process to run it, depending on how many cores you have available and how much memory it takes…

2 Likes

@Loudbeat

Just the standard Quicktest is the issue. I can get through Randomtest in small batches, though it can take an age.

It all started slowing with the raider section, which is over 200k of mostly code- a mini game within the game.

Will continue to fiddle.

2 Likes

If you’re curious and willing I can run it through a quicktest on my workstation when I get home. If it runs out of memory there it’s not your computer’s issue.

3 Likes

Weird question but are you using the run-quicktest batch file or the html file? The html one is sometimes temperamental depending on the browser.

5 Likes

I run the game in a browser and click ‘Run Quicktest’

I can’t use the CSIDE one as I have lots of HG code scattered around to partition off inaccessible portions of the game to get the demo to work.

I should use the batch one instead?

EDIT: WHoah! I am looking at it race by!!!

See, this simple things I should know. Krog knows how I ever put a game together.

Massive thanks Harris- This fixed it (touch wood and waiting for it to finish running)

1 Like

@CavusRex

Thanks Carvus- It was me being slow on the uptake. I should have been using the batch version all this time instead of the html one.

@HarrisPS

Works a charm! Yeah, the html version has been torturing me for months. Literally have waited for over an hour for it to get to the radier scene and then run out of memory.

Massive thanks!

4 Likes

Oh brilliant! I’ve had trouble with the browser version even with much smaller games than yours. Hope it finishes running as expected!

3 Likes

That would explain it. I honestly forgot about the possibility of you using html tests. Either way glad it’s solved now and hopefully the tests will run quicker on console as well :+1:

2 Likes

Oh wait, there’s a html version? :joy: How do you people find that stuff?

2 Likes

By randomly clicking on things which seem to work but then don’t :innocent:

4 Likes

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.