Today I used MaxScript for the firs time to bake one of my populated figures into the scene.
Ever since I attempted this I have recieved persistent warning screens stating:
"An Unknown error occurred while MaxScript was performing garbage collection.
If you get this errror multiple times, recommend restartin max"
Well...I restarted. Same result
Then I started the scene again. Still happening.
I even went as far as to delete all my preferences and reinstall Max.
It's still going on...
Ocassionally a message will pop up saying "successfully interrupted"
The following is also written in MaxScript listener when I opened it just after seeing the message:
Welcome to MAXScript. -- Error occurred in ActionCreateFlow(); filename: C:\Program Files\Autodesk\3ds Max Design 2015\stdplugs\stdscripts\CrowdAreaDraw.ms; position: 2360; line: 137 -- Frame: -- currentTool: undefined -- Error occurred during fileIn in "C:\Program Files\Autodesk\3ds Max Design 2015\stdplugs\stdscripts\CrowdAreaDraw.ms"; line number: 137 ** interrupted **
But I don't know what's happening or how to stop it.
Please Help!
[Image of warning attached]
I suggest that you increase the heapSize for scripts that require it, by default it is quite low.
You can do this in the preferences or you could force the setting at the top of the script.
heapSize=52428800L
Many thanks Paul.
I will attempt this when I return to 3DS (currently other commitments are keeping me busy)
What 'quantity' is 52428800L?
I was expecting something in the format of kilobytes, gigabytes etc.
I'm just thinking if I wanted to experiment with this setting later on, how do I judge what the right value is?
What would it be set to as default if I wanted to return to default, for example?
Best,
MID