A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Gmax Scripter Memory ran out - Use options to increase?

Author Topic: Gmax Scripter Memory ran out - Use options to increase? (20 messages, Page 1 of 1)
Moderators: Dennis

deadlyfighter1000
Joined: Jan 11, 2009

Constantly a threat.


Posted: Dec 12, 2010 03:27 PM    Msg. 1 of 20       
Okay, I am using BlueStreak with gmax to export my halo map, and it says:
Out of Scripter Memory - Use options to increase

How do I fix this? I used to be able to compile my maps easily, and now I get this error..


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Dec 12, 2010 03:36 PM    Msg. 2 of 20       
Check your preferences. Under Maxscript, there is a number (supposed to be 1000).


deadlyfighter1000
Joined: Jan 11, 2009

Constantly a threat.


Posted: Dec 12, 2010 03:58 PM    Msg. 3 of 20       
kk thanks.. for some reason it was at 10..


thellt
Joined: Feb 14, 2009

chiperdilly the great 1999-2017


Posted: Dec 12, 2010 11:46 PM    Msg. 4 of 20       
also when working with very large models its good to increase memory using maxscript listener.

(ex. "heapsize += 100000000" should do the trick if not switch the + and the = in reverse order.) ive ran into this a couple of times when making first person models for my mp40 weapon


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Dec 13, 2010 12:03 AM    Msg. 5 of 20       
Quote: --- Original message by: thellt
also when working with very large models its good to increase memory using maxscript listener.

(ex. "heapsize += 100000000" should do the trick if not switch the + and the = in reverse order.) ive ran into this a couple of times when making first person models for my mp40 weapon

I did that but then Gmax crashed after a certain limit.


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Dec 13, 2010 03:31 AM    Msg. 6 of 20       
I have to same problem.
Edited by Head Noob on Dec 13, 2010 at 03:31 AM


rub3n
Joined: Nov 21, 2010


Posted: Dec 13, 2010 03:35 AM    Msg. 7 of 20       
am i the only person that barely has errors?


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Dec 13, 2010 03:53 AM    Msg. 8 of 20       
Great. I just did what it says in this form to make it run for big maps and now it opens then crashes.


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Dec 13, 2010 05:28 PM    Msg. 9 of 20       
Quote: --- Original message by: thellt
also when working with very large models its good to increase memory using maxscript listener.

(ex. "heapsize += 100000000" should do the trick if not switch the + and the = in reverse order.) ive ran into this a couple of times when making first person models for my mp40 weapon
OMG NEVER DO THIS.
I've had this problem a lot in my gmax days, here's how to fix it:
Go to the gmax folder in program files.
Find gmax.ini, which is your configuration settings. Open it with notepad.
CTRL+F and search for Maxscript.
You SHOULD see a section that looks like this:
Quote: [MAXScript]
AutoStart=1
LoadStartupScripts=1
LoadSaveSceneScripts=1
LoadSavePersistentGlobals=1
LoadControllerScripts=1
Font=Courier New
FontSize=12
InitialHeapSize=200.000000
Change the Initialheapsize= number down to around 100, so you can open gmax again. Save.
Once inside gmax, set it back to a reasonable number. I suggest 1000, but I use 200 sometimes (if I don't need to run any scripts).
If you can't find that piece of code in the INI, copy and paste my settings (above) into the bottom of the INI file and save it.

EDIT: I also want to add that gmax DOES have the backup system 3DS max uses. File>Open and look for an autoback folder somewhere around the folder where your scenes are saved. Make sure you are looking at "all files" and not only .gmax files.
Edited by SlappyThePirate on Dec 13, 2010 at 05:30 PM


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Dec 13, 2010 05:35 PM    Msg. 10 of 20       
Whoa, you lost me. This is what my heapsize is:

InitialHeapSize=7.500000


So I want to change that number to 100? Or 200? Or the lowest number I can get it?


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Dec 13, 2010 05:43 PM    Msg. 11 of 20       
What was your heapsize before you changed it to a zillion?


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Dec 13, 2010 05:45 PM    Msg. 12 of 20       
Quote: --- Original message by: SlappyThePirate
What was your heapsize before you changed it to a zillion?

Me? I never changed anything yet. I haven't touched the heapsize.


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Dec 13, 2010 06:44 PM    Msg. 13 of 20       
Then what's the problem? You only have to change this value if you cannot run a script or cannot open gmax.


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Dec 13, 2010 07:20 PM    Msg. 14 of 20       
The problem is I'm trying to import a map with a script and it gives me this error:

Out of Scripter Memory - Use options to increase

When I do what you said gmax crashes.


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Dec 13, 2010 09:54 PM    Msg. 15 of 20       
The heap size should be enough to handle what you're importing (BSPs take a lot of heap memory), but not so much that gmax crashes. If your computer crashes regardless, perhaps your computer is bad.


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Dec 13, 2010 10:49 PM    Msg. 16 of 20       
Quote: --- Original message by: SlappyThePirate
The heap size should be enough to handle what you're importing (BSPs take a lot of heap memory), but not so much that gmax crashes. If your computer crashes regardless, perhaps your computer is bad.

Most likely, This computer is almost out om memory, it runs three operating systems and is a little old.


Hs_crozzhair
Joined: May 8, 2010


Posted: Dec 22, 2010 09:50 AM    Msg. 17 of 20       
Quote: --- Original message by: SlappyThePirate

Quote: --- Original message by: thellt
also when working with very large models its good to increase memory using maxscript listener.

(ex. "heapsize += 100000000" should do the trick if not switch the + and the = in reverse order.) ive ran into this a couple of times when making first person models for my mp40 weapon
OMG NEVER DO THIS.
I've had this problem a lot in my gmax days, here's how to fix it:
Go to the gmax folder in program files.
Find gmax.ini, which is your configuration settings. Open it with notepad.
CTRL+F and search for Maxscript.
You SHOULD see a section that looks like this:
Quote: [MAXScript]
AutoStart=1
LoadStartupScripts=1
LoadSaveSceneScripts=1
LoadSavePersistentGlobals=1
LoadControllerScripts=1
Font=Courier New
FontSize=12
InitialHeapSize=200.000000
Change the Initialheapsize= number down to around 100, so you can open gmax again. Save.
Once inside gmax, set it back to a reasonable number. I suggest 1000, but I use 200 sometimes (if I don't need to run any scripts).
If you can't find that piece of code in the INI, copy and paste my settings (above) into the bottom of the INI file and save it.

Edited by SlappyThePirate on Dec 13, 2010 at 05:30 PM

I no haz configuration settengs :(


thellt
Joined: Feb 14, 2009

chiperdilly the great 1999-2017


Posted: Mar 30, 2011 09:37 PM    Msg. 18 of 20       
i hate to bump this, but now that i searched thru my forums and saw this it shocked me.

oddly though for me my meathod worked absolutely perfectly when i was trying to export the model. (it had a ton of geometry for a first person model. probably cause its got so many curves and stuff.) i was very pleased with the way it turned out for me. im suprised it came back for other people so negitively. i actually searched on internet forums for this very issue"(out of scripter mem use options... etc) and i came up with my meathod. idk lol. its good to have backups. im sorry for causing some of peoples work to get lost. i honestly didnt intend for that to happen. i thought i was helping lol


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Mar 30, 2011 09:48 PM    Msg. 19 of 20       
Quote: --- Original message by: pepzee
Whoa, you lost me. This is what my heapsize is:

InitialHeapSize=7.500000


So I want to change that number to 100? Or 200? Or the lowest number I can get it?

I would like to apologize as well.
Pepzee said 7.5, and I thought you said 7500000 aka "a zillion". If pepzee is still having this problem, try 0 ans open gmax. Increase by 100 until gmax doesn't crash on startup.


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Mar 30, 2011 11:08 PM    Msg. 20 of 20       
No, I never figured this out. First I changed the heapsize to 0 and got this error:

In file:'..\..\maxsdk\include\maxscript\Colctble.h'
Line: 107


Don't know what that means, then I changed the heap size to 100 and it just crashed while opening it.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 1:57 AM 156 ms.
A Halo Maps Website